Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 105.1 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 241.9 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2147/0.2147, allocations: 44.18 MB / 336.2 MB, free: 2.844 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 56.44 kB / 408 MB, free: 27.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1279, allocations: 60.83 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.0363/0.1643, allocations: 27.18 MB / 496 MB, free: 3.332 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01436/0.1787, allocations: 11.07 MB / 0.4952 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002425/0.179, allocations: 0 / 0.4952 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004901/0.1796, allocations: 75.61 kB / 0.4953 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3166/0.4961, allocations: 8.344 MB / 0.5034 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.4974, allocations: 408.3 kB / 0.5038 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009616/0.4984, allocations: 488 kB / 0.5043 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.406e-05/0.4985, allocations: 18.94 kB / 0.5043 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003431/0.4988, allocations: 195.3 kB / 0.5045 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01237/0.5112, allocations: 6.369 MB / 0.5107 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.5114, allocations: 21.95 kB / 0.5107 GB, free: 13.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02755/0.5389, allocations: 13.4 MB / 0.5238 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001765/0.5392, allocations: 92.14 kB / 0.5239 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003213/0.5395, allocations: 150.9 kB / 0.524 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02652/0.566, allocations: 6.973 MB / 0.5308 GB, free: 10.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/0.5661, allocations: 2.375 kB / 0.5308 GB, free: 10.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.5661, allocations: 1.031 kB / 0.5308 GB, free: 10.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.5661, allocations: 0 / 0.5308 GB, free: 10.97 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.006046/0.5722, allocations: 1.545 MB / 0.5324 GB, free: 9.945 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.5722, allocations: 10.22 kB / 0.5324 GB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001047/0.5724, allocations: 70.22 kB / 0.5324 GB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002497/0.5726, allocations: 34.95 kB / 0.5325 GB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.5729, allocations: 245 kB / 0.5327 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.573, allocations: 22.5 kB / 0.5327 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.408e-05/0.573, allocations: 27.16 kB / 0.5327 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008889/0.5739, allocations: 0.5215 MB / 0.5333 GB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.574, allocations: 0 / 0.5333 GB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.893e-05/0.574, allocations: 11.81 kB / 0.5333 GB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-05/0.5741, allocations: 27.91 kB / 0.5333 GB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.5751, allocations: 0.9151 MB / 0.5342 GB, free: 9.266 MB / 382.1 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.002022/0.5772, allocations: 1.905 MB / 0.536 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007125/0.5779, allocations: 270.9 kB / 0.5363 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.578, allocations: 104.3 kB / 0.5364 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01908/0.5971, allocations: 15.67 MB / 0.5517 GB, free: 5.098 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000587/0.5978, allocations: 245.4 kB / 0.5519 GB, free: 4.824 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 3.427e-06/0.5978, allocations: 3.094 kB / 0.5519 GB, free: 4.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002556/0.6004, allocations: 0.7919 MB / 0.5527 GB, free: 4.035 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.6005, allocations: 268.5 kB / 0.553 GB, free: 3.715 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.6007, allocations: 199.8 kB / 0.5532 GB, free: 3.512 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.742e-05/0.6008, allocations: 37.7 kB / 0.5532 GB, free: 3.469 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.6009, allocations: 199 kB / 0.5534 GB, free: 3.273 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.6011, allocations: 121 kB / 0.5535 GB, free: 3.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.6013, allocations: 122 kB / 0.5536 GB, free: 3.031 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.6014, allocations: 338.8 kB / 0.5539 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.6016, allocations: 93.06 kB / 0.554 GB, free: 2.598 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004912/0.6021, allocations: 366.8 kB / 0.5544 GB, free: 2.117 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008116/0.6029, allocations: 0.508 MB / 0.5549 GB, free: 1.516 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.6029, allocations: 4 kB / 0.5549 GB, free: 1.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001286/0.6042, allocations: 0.499 MB / 0.5554 GB, free: 1.066 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.6043, allocations: 8 kB / 0.5554 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/0.6043, allocations: 11.98 kB / 0.5554 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.345e-05/0.6043, allocations: 17.53 kB / 0.5554 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006515/0.605, allocations: 176.2 kB / 0.5556 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007395/0.6057, allocations: 1.191 MB / 0.5567 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003592/0.6061, allocations: 23.94 kB / 0.5568 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.06e-05/0.6062, allocations: 51.98 kB / 0.5568 GB, free: 15.57 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002174/0.6064, allocations: 170.1 kB / 0.557 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/0.6067, allocations: 35.72 kB / 0.557 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.6078, allocations: 485.3 kB / 0.5575 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.6078, allocations: 4.797 kB / 0.5575 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.6078, allocations: 7.406 kB / 0.5575 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.6078, allocations: 7.938 kB / 0.5575 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.6089, allocations: 0.6028 MB / 0.5581 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.6089, allocations: 4 kB / 0.5581 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004016/0.6093, allocations: 85.81 kB / 0.5582 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.6093, allocations: 5.875 kB / 0.5582 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.6094, allocations: 8.547 kB / 0.5582 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000619/0.61, allocations: 1.172 MB / 0.5593 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.61, allocations: 3.984 kB / 0.5593 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006728/0.6107, allocations: 328.1 kB / 0.5596 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.394e-05/0.6108, allocations: 102.9 kB / 0.5597 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.569e-05/0.6109, allocations: 8 kB / 0.5597 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.6111, allocations: 23.45 kB / 0.5598 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.6112, allocations: 22.53 kB / 0.5598 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.24e-05/0.6112, allocations: 16 kB / 0.5598 GB, free: 12.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001737/0.6114, allocations: 168.5 kB / 0.56 GB, free: 12.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6114, allocations: 0 / 0.56 GB, free: 12.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.006457/0.6179, allocations: 1.683 MB / 0.5616 GB, free: 10.53 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01222/0.6301, allocations: 3.069 MB / 0.5646 GB, free: 7.625 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.6316, allocations: 341.8 kB / 0.5649 GB, free: 7.328 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.6316, allocations: 0 / 0.5649 GB, free: 7.328 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005089/0.6321, allocations: 119.5 kB / 0.565 GB, free: 7.219 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009628/0.6331, allocations: 111.5 kB / 0.5652 GB, free: 7.117 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2304/0.8635, allocations: 144.2 MB / 0.706 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/0.8641, allocations: 0.7533 MB / 0.7067 GB, free: 316 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007239/0.8648, allocations: 142.2 kB / 0.7068 GB, free: 188 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002646/0.8651, allocations: 99.39 kB / 0.7069 GB, free: 88 kB / 0.5294 GB Notification: Performance of SimCode: time 1.222e-06/0.8651, allocations: 0 / 0.7069 GB, free: 88 kB / 0.5294 GB [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.Medium.isentropicEnthalpy(202650.0, ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.Medium.ThermodynamicState(101325.0, 298.15, {0.01, 0.99})).