Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_3_2_3_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.001136/0.001136, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 206.4 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.1 MB / 222.6 MB, free: 5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3493/0.3493, allocations: 43.5 MB / 313.5 MB, free: 8.59 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 60.47 kB / 382.1 MB, free: 8.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1267, allocations: 57.78 MB / 439.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.2631/0.3898, allocations: 29 MB / 468.9 MB, free: 36.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0147/0.4045, allocations: 13.78 MB / 482.7 MB, free: 27.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002415/0.4049, allocations: 3.25 kB / 482.7 MB, free: 27.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004557/0.4054, allocations: 70.41 kB / 482.8 MB, free: 26.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01984/0.4252, allocations: 7.024 MB / 489.8 MB, free: 23.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008757/0.4261, allocations: 398.9 kB / 490.2 MB, free: 23.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006561/0.4268, allocations: 0.6776 MB / 490.9 MB, free: 23.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.343e-05/0.4268, allocations: 17.94 kB / 490.9 MB, free: 23.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002366/0.4271, allocations: 182.3 kB / 491.1 MB, free: 23.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01169/0.4388, allocations: 6.296 MB / 497.4 MB, free: 21.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.153e-05/0.4389, allocations: 8.656 kB / 497.4 MB, free: 21.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02364/0.4625, allocations: 13.42 MB / 0.4988 GB, free: 16.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.4627, allocations: 86.12 kB / 0.4989 GB, free: 16.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000202/0.4629, allocations: 141.4 kB / 0.499 GB, free: 16.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01939/0.4823, allocations: 6.771 MB / 0.5056 GB, free: 12.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4823, allocations: 0 / 0.5056 GB, free: 12.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.4823, allocations: 0 / 0.5056 GB, free: 12.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.4824, allocations: 1.375 kB / 0.5056 GB, free: 12.43 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.005332/0.4877, allocations: 1.518 MB / 0.5071 GB, free: 11.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.4878, allocations: 9.375 kB / 0.5071 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.779e-05/0.4878, allocations: 76.67 kB / 0.5072 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/0.488, allocations: 29.59 kB / 0.5072 GB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.4882, allocations: 245 kB / 0.5075 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.4883, allocations: 18.62 kB / 0.5075 GB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.4883, allocations: 29.53 kB / 0.5075 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006775/0.489, allocations: 0.5059 MB / 0.508 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.489, allocations: 2.594 kB / 0.508 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.355e-05/0.4891, allocations: 23.23 kB / 0.508 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-05/0.4891, allocations: 23.41 kB / 0.5081 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000982/0.4901, allocations: 0.9171 MB / 0.5089 GB, free: 10.24 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.001726/0.4918, allocations: 1.905 MB / 0.5108 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000705/0.4925, allocations: 271 kB / 0.5111 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.4927, allocations: 106 kB / 0.5112 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01614/0.5088, allocations: 15.69 MB / 0.5265 GB, free: 6.008 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004906/0.5094, allocations: 247.8 kB / 0.5267 GB, free: 5.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 2.695e-06/0.5094, allocations: 0 / 0.5267 GB, free: 5.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002237/0.5116, allocations: 0.7782 MB / 0.5275 GB, free: 4.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.5118, allocations: 269 kB / 0.5277 GB, free: 4.605 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.512, allocations: 208.9 kB / 0.5279 GB, free: 4.395 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.512, allocations: 33.95 kB / 0.528 GB, free: 4.355 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.5121, allocations: 203.4 kB / 0.5282 GB, free: 4.152 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.668e-05/0.5122, allocations: 126.2 kB / 0.5283 GB, free: 4.027 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.5124, allocations: 122 kB / 0.5284 GB, free: 3.902 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.5125, allocations: 338.8 kB / 0.5287 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.5126, allocations: 89.06 kB / 0.5288 GB, free: 3.477 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004405/0.5131, allocations: 373.3 kB / 0.5292 GB, free: 2.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007201/0.5138, allocations: 0.5034 MB / 0.5297 GB, free: 2.348 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5138, allocations: 4 kB / 0.5297 GB, free: 2.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001157/0.515, allocations: 0.4928 MB / 0.5301 GB, free: 1.844 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.515, allocations: 12 kB / 0.5302 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.515, allocations: 12.84 kB / 0.5302 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.5151, allocations: 15.98 kB / 0.5302 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006014/0.5157, allocations: 183.6 kB / 0.5304 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005977/0.5163, allocations: 1.184 MB / 0.5315 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000301/0.5166, allocations: 36.09 kB / 0.5316 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.106e-05/0.5167, allocations: 43.98 kB / 0.5316 GB, free: 328 kB / 398.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.000163/0.5169, allocations: 173.5 kB / 0.5318 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/0.517, allocations: 31.81 kB / 0.5318 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/0.5181, allocations: 489.9 kB / 0.5323 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.5181, allocations: 11.97 kB / 0.5323 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.5181, allocations: 3.938 kB / 0.5323 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.5181, allocations: 0 / 0.5323 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008442/0.5189, allocations: 0.5992 MB / 0.5329 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.519, allocations: 7.875 kB / 0.5329 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003706/0.5193, allocations: 87.86 kB / 0.5329 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.5194, allocations: 4 kB / 0.533 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.5194, allocations: 11.98 kB / 0.533 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005089/0.5199, allocations: 1.168 MB / 0.5341 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.5199, allocations: 4.031 kB / 0.5341 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005568/0.5205, allocations: 323.5 kB / 0.5344 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.5205, allocations: 100.8 kB / 0.5345 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.464e-05/0.5206, allocations: 15.88 kB / 0.5345 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.5208, allocations: 11.98 kB / 0.5345 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.5209, allocations: 19.97 kB / 0.5346 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/0.5209, allocations: 15.94 kB / 0.5346 GB, free: 13.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.5211, allocations: 172.5 kB / 0.5347 GB, free: 12.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5211, allocations: 0 / 0.5347 GB, free: 12.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005812/0.5269, allocations: 1.624 MB / 0.5363 GB, free: 11.26 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.009719/0.5366, allocations: 3.024 MB / 0.5393 GB, free: 8.199 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.5377, allocations: 320.5 kB / 0.5396 GB, free: 7.887 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.5377, allocations: 0 / 0.5396 GB, free: 7.887 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004119/0.5382, allocations: 133.1 kB / 0.5397 GB, free: 7.758 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008346/0.539, allocations: 108 kB / 0.5398 GB, free: 7.656 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4779/1.017, allocations: 144 MB / 0.6804 GB, free: 111.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/1.017, allocations: 0.752 MB / 0.6812 GB, free: 111 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000594/1.018, allocations: 146.6 kB / 0.6813 GB, free: 111 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/1.018, allocations: 97.83 kB / 0.6814 GB, free: 110.9 MB / 494.1 MB Notification: Performance of SimCode: time 1.242e-06/1.018, allocations: 0 / 0.6814 GB, free: 110.9 MB / 494.1 MB [CodegenUtil.tpl:198:14-198: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})).