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.001203/0.001203, allocations: 105.1 kB / 15.98 MB, free: 6.332 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.001232/0.001232, allocations: 198.6 kB / 16.91 MB, free: 6.18 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.638/1.638, allocations: 205.1 MB / 222.8 MB, free: 4.719 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.386/0.386, allocations: 43.5 MB / 313.6 MB, free: 8.48 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.001622/0.001622, allocations: 71.89 kB / 382.3 MB, free: 8.512 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1443, allocations: 57.78 MB / 440.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.3015/0.4459, allocations: 27.34 MB / 467.4 MB, free: 36.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01411/0.46, allocations: 13.11 MB / 480.6 MB, free: 27.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003408/0.4604, allocations: 0 / 480.6 MB, free: 27.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005475/0.4611, allocations: 69.47 kB / 480.6 MB, free: 27.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0244/0.4855, allocations: 7.727 MB / 488.4 MB, free: 24.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.4865, allocations: 401 kB / 488.7 MB, free: 24.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000706/0.4873, allocations: 490.5 kB / 489.2 MB, free: 24.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.525e-05/0.4874, allocations: 20.89 kB / 489.2 MB, free: 24.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000286/0.4877, allocations: 197.5 kB / 489.4 MB, free: 24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01133/0.499, allocations: 6.355 MB / 495.8 MB, free: 21.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.4992, allocations: 17.56 kB / 495.8 MB, free: 21.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02807/0.5273, allocations: 13.07 MB / 0.497 GB, free: 17.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.5275, allocations: 93.91 kB / 0.497 GB, free: 17.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002828/0.5278, allocations: 152.2 kB / 0.4972 GB, free: 17.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02417/0.552, allocations: 6.784 MB / 0.5038 GB, free: 13.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.808e-06/0.552, allocations: 0 / 0.5038 GB, free: 13.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.5521, allocations: 1.75 kB / 0.5038 GB, free: 13.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.5521, allocations: 4 kB / 0.5038 GB, free: 13.44 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.007165/0.5592, allocations: 1.518 MB / 0.5053 GB, free: 12.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.991e-05/0.5593, allocations: 14.23 kB / 0.5053 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.886e-05/0.5594, allocations: 72.28 kB / 0.5054 GB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002159/0.5596, allocations: 29.59 kB / 0.5054 GB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.5599, allocations: 241.3 kB / 0.5056 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.56, allocations: 19.78 kB / 0.5057 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.918e-05/0.56, allocations: 28.86 kB / 0.5057 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008998/0.5609, allocations: 0.5095 MB / 0.5062 GB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.561, allocations: 5.859 kB / 0.5062 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.144e-05/0.561, allocations: 27.25 kB / 0.5062 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.867e-05/0.5611, allocations: 18.5 kB / 0.5062 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.5622, allocations: 0.9189 MB / 0.5071 GB, free: 11.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.001807/0.564, allocations: 1.892 MB / 0.509 GB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006824/0.5647, allocations: 278.1 kB / 0.5092 GB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.5649, allocations: 108.4 kB / 0.5094 GB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01752/0.5824, allocations: 15.68 MB / 0.5247 GB, free: 7.695 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006031/0.5831, allocations: 251.1 kB / 0.5249 GB, free: 7.414 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 2.615e-06/0.5831, allocations: 0 / 0.5249 GB, free: 7.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002601/0.5857, allocations: 0.7842 MB / 0.5257 GB, free: 6.609 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.5858, allocations: 269.7 kB / 0.5259 GB, free: 6.285 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.5861, allocations: 204.9 kB / 0.5261 GB, free: 6.078 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.256e-05/0.5861, allocations: 37.7 kB / 0.5262 GB, free: 6.035 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.5862, allocations: 199.4 kB / 0.5263 GB, free: 5.836 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.5864, allocations: 118.3 kB / 0.5265 GB, free: 5.719 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.5865, allocations: 126 kB / 0.5266 GB, free: 5.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.5867, allocations: 342.8 kB / 0.5269 GB, free: 5.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.5869, allocations: 89.06 kB / 0.527 GB, free: 5.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004714/0.5874, allocations: 369.3 kB / 0.5273 GB, free: 4.668 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007457/0.5881, allocations: 0.5034 MB / 0.5278 GB, free: 4.035 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.5881, allocations: 4 kB / 0.5278 GB, free: 4.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001165/0.5893, allocations: 0.5009 MB / 0.5283 GB, free: 3.527 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.5893, allocations: 8 kB / 0.5283 GB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.5894, allocations: 20.06 kB / 0.5284 GB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.827e-05/0.5894, allocations: 12 kB / 0.5284 GB, free: 3.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006259/0.59, allocations: 179.7 kB / 0.5285 GB, free: 3.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006896/0.5907, allocations: 1.18 MB / 0.5297 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003243/0.5911, allocations: 36.03 kB / 0.5297 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.012e-05/0.5911, allocations: 47.98 kB / 0.5298 GB, free: 2.004 MB / 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.0002284/0.5914, allocations: 171.8 kB / 0.5299 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/0.5916, allocations: 31.81 kB / 0.53 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.5927, allocations: 492.5 kB / 0.5304 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.5927, allocations: 2.125 kB / 0.5304 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.5927, allocations: 7.938 kB / 0.5304 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.5927, allocations: 3.984 kB / 0.5304 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.5937, allocations: 0.5992 MB / 0.531 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.5938, allocations: 7.938 kB / 0.531 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003875/0.5941, allocations: 88.41 kB / 0.5311 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.5942, allocations: 0 / 0.5311 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.5942, allocations: 12 kB / 0.5311 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000586/0.5948, allocations: 1.172 MB / 0.5323 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5948, allocations: 0 / 0.5323 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000607/0.5954, allocations: 327.6 kB / 0.5326 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.382e-05/0.5955, allocations: 105.7 kB / 0.5327 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.509e-05/0.5956, allocations: 19.19 kB / 0.5327 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.5958, allocations: 11.98 kB / 0.5327 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.5959, allocations: 11.98 kB / 0.5327 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.5959, allocations: 27.92 kB / 0.5328 GB, free: 14.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001601/0.5961, allocations: 168.5 kB / 0.5329 GB, free: 14.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5961, allocations: 0 / 0.5329 GB, free: 14.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.008023/0.6041, allocations: 1.624 MB / 0.5345 GB, free: 12.95 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.01339/0.6176, allocations: 3.009 MB / 0.5374 GB, free: 9.898 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00146/0.6191, allocations: 337.9 kB / 0.5378 GB, free: 9.574 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.6191, allocations: 0 / 0.5378 GB, free: 9.574 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004352/0.6195, allocations: 126.6 kB / 0.5379 GB, free: 9.453 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008419/0.6204, allocations: 108.2 kB / 0.538 GB, free: 9.348 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.429/1.049, allocations: 144 MB / 0.6787 GB, free: 126.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/1.05, allocations: 0.7525 MB / 0.6794 GB, free: 126.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006428/1.05, allocations: 144.1 kB / 0.6795 GB, free: 126 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002132/1.051, allocations: 103 kB / 0.6796 GB, free: 126 MB / 494.1 MB Notification: Performance of SimCode: time 9.42e-07/1.051, allocations: 0 / 0.6796 GB, free: 126 MB / 494.1 MB [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})).