Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009831/0.009837, allocations: 177.4 kB / 15.13 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.213/2.213, allocations: 194.5 MB / 210.3 MB, free: 7.805 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001822/0.001822, allocations: 120.1 kB / 255.6 MB, free: 10.42 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2722/0.2722, allocations: 40 MB / 340.8 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000461/0.0004612, allocations: 9.562 kB / 406.3 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.104, allocations: 54.88 MB / 461.2 MB, free: 3.223 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.02056/0.1246, allocations: 10.17 MB / 471.3 MB, free: 9.004 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02881/0.1535, allocations: 13 MB / 484.3 MB, free: 11.97 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002812/0.1538, allocations: 0 / 484.3 MB, free: 11.97 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003303/0.1542, allocations: 59.69 kB / 484.4 MB, free: 11.91 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01054/0.1648, allocations: 2.441 MB / 486.8 MB, free: 9.461 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006345/0.1654, allocations: 142.5 kB / 487 MB, free: 9.328 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0161/0.1815, allocations: 7.404 MB / 494.4 MB, free: 1.918 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.777e-05/0.1817, allocations: 16.41 kB / 494.4 MB, free: 1.902 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002608/0.1819, allocations: 143.5 kB / 494.5 MB, free: 1.762 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03108/0.213, allocations: 14.16 MB / 0.4968 GB, free: 3.598 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.2132, allocations: 11.94 kB / 0.4968 GB, free: 3.586 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007604/0.2208, allocations: 1.959 MB / 0.4987 GB, free: 1.625 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.221, allocations: 43.81 kB / 0.4987 GB, free: 1.582 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.2212, allocations: 69.58 kB / 0.4988 GB, free: 1.508 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003081/0.2243, allocations: 1.025 MB / 0.4998 GB, free: 492 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2243, allocations: 7.938 kB / 0.4998 GB, free: 484 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.2243, allocations: 0 / 0.4998 GB, free: 484 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.2244, allocations: 0 / 0.4998 GB, free: 484 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003038/0.2274, allocations: 0.8687 MB / 0.5006 GB, free: 15.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.2275, allocations: 8.031 kB / 0.5007 GB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001131/0.2276, allocations: 62.53 kB / 0.5007 GB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007981/0.2284, allocations: 83.59 kB / 0.5008 GB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.2288, allocations: 242.7 kB / 0.501 GB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.2289, allocations: 24.56 kB / 0.501 GB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.414e-05/0.229, allocations: 31.95 kB / 0.5011 GB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.2303, allocations: 477.5 kB / 0.5015 GB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.2304, allocations: 7.938 kB / 0.5015 GB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.162e-05/0.2304, allocations: 15.98 kB / 0.5016 GB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.2305, allocations: 8 kB / 0.5016 GB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001717/0.2322, allocations: 0.6773 MB / 0.5022 GB, free: 13.86 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01189/0.2441, allocations: 4.292 MB / 0.5064 GB, free: 9.141 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007407/0.2449, allocations: 163.2 kB / 0.5066 GB, free: 8.973 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.245, allocations: 61.53 kB / 0.5066 GB, free: 8.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04883/0.2939, allocations: 16.38 MB / 0.5226 GB, free: 6.355 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009348/0.2948, allocations: 325.9 kB / 0.5229 GB, free: 5.973 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 4.769e-06/0.2949, allocations: 0 / 0.5229 GB, free: 5.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001916/0.2968, allocations: 438.4 kB / 0.5234 GB, free: 5.539 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002572/0.2971, allocations: 470.6 kB / 0.5238 GB, free: 4.969 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.2973, allocations: 190.2 kB / 0.524 GB, free: 4.773 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.2974, allocations: 33.7 kB / 0.524 GB, free: 4.734 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.2975, allocations: 187.8 kB / 0.5242 GB, free: 4.547 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.2977, allocations: 102.6 kB / 0.5243 GB, free: 4.445 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.35e-05/0.2977, allocations: 4 kB / 0.5243 GB, free: 4.441 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.2979, allocations: 334.8 kB / 0.5246 GB, free: 4.105 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.2981, allocations: 64.83 kB / 0.5247 GB, free: 4.043 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003916/0.2985, allocations: 310.8 kB / 0.525 GB, free: 3.617 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/0.2988, allocations: 111.9 kB / 0.5251 GB, free: 3.508 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.2988, allocations: 0 / 0.5251 GB, free: 3.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001034/0.2998, allocations: 401 kB / 0.5255 GB, free: 3.109 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.2999, allocations: 8.969 kB / 0.5255 GB, free: 3.102 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.2999, allocations: 8 kB / 0.5255 GB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.53e-05/0.3, allocations: 16 kB / 0.5255 GB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005928/0.3006, allocations: 115.8 kB / 0.5256 GB, free: 2.965 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.503e-05/0.3006, allocations: 12 kB / 0.5256 GB, free: 2.953 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004138/0.301, allocations: 51.41 kB / 0.5257 GB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.813e-05/0.3011, allocations: 35.98 kB / 0.5257 GB, free: 2.867 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002133/0.3013, allocations: 153.6 kB / 0.5258 GB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.783e-05/0.3014, allocations: 23.81 kB / 0.5259 GB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001723/0.3032, allocations: 0.8005 MB / 0.5266 GB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/0.3032, allocations: 16.19 kB / 0.5267 GB, free: 1.836 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.3032, allocations: 4 kB / 0.5267 GB, free: 1.832 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.3033, allocations: 4 kB / 0.5267 GB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.3051, allocations: 1.211 MB / 0.5279 GB, free: 488 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.3051, allocations: 3.953 kB / 0.5279 GB, free: 484 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.3053, allocations: 32.02 kB / 0.5279 GB, free: 452 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/0.3054, allocations: 11.94 kB / 0.5279 GB, free: 440 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.3054, allocations: 8 kB / 0.5279 GB, free: 432 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.048e-05/0.3054, allocations: 7.938 kB / 0.5279 GB, free: 424 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.3054, allocations: 4 kB / 0.5279 GB, free: 420 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2979/0.6034, allocations: 371.5 kB / 0.5283 GB, free: 79.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003723/0.6038, allocations: 213 kB / 0.5285 GB, free: 78.92 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.6039, allocations: 4.219 kB / 0.5285 GB, free: 78.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000462/0.6044, allocations: 16.52 kB / 0.5285 GB, free: 78.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.6045, allocations: 23.12 kB / 0.5285 GB, free: 78.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.05e-05/0.6045, allocations: 7.875 kB / 0.5285 GB, free: 78.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000464/0.605, allocations: 293 kB / 0.5288 GB, free: 78.83 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.605, allocations: 0 / 0.5288 GB, free: 78.83 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001675/0.6067, allocations: 430.3 kB / 0.5292 GB, free: 78.83 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002508/0.6092, allocations: 1.415 MB / 0.5306 GB, free: 78.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005816/0.6098, allocations: 232.1 kB / 0.5308 GB, free: 78.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.6098, allocations: 0 / 0.5308 GB, free: 78.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.61, allocations: 88.22 kB / 0.5309 GB, free: 78.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.611, allocations: 85.58 kB / 0.531 GB, free: 78.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.4/3.011, allocations: 0.5789 GB / 1.11 GB, free: 111.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/3.011, allocations: 0.8196 MB / 1.111 GB, free: 110.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0009362/3.012, allocations: 166.4 kB / 1.111 GB, free: 110.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002926/3.013, allocations: 143.4 kB / 1.111 GB, free: 110.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.072e-06/3.013, allocations: 0 / 1.111 GB, free: 110.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08927/3.102, allocations: 17.47 MB / 1.128 GB, free: 93.16 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002412/3.102, allocations: 213 kB / 1.128 GB, free: 92.91 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.6/6.702, allocations: 0 / 1.128 GB, free: 92.91 MB / 474.7 MB