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.00119/0.00119, allocations: 104.1 kB / 17.63 MB, free: 5.504 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.001139/0.001139, allocations: 192 kB / 18.56 MB, free: 4.578 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.358/1.358, allocations: 222.9 MB / 242.3 MB, free: 15.23 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.2181/0.2181, allocations: 44.17 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001488, allocations: 63.89 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1113, allocations: 60.83 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03364/0.1449, allocations: 27.02 MB / 496.4 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01414/0.1592, allocations: 11.02 MB / 0.4955 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001549/0.1594, allocations: 7.938 kB / 0.4955 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003703/0.1598, allocations: 79.55 kB / 0.4956 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2478/0.4075, allocations: 9.227 MB / 0.5046 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.4089, allocations: 420.9 kB / 0.505 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000893/0.4098, allocations: 491 kB / 0.5055 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.126e-05/0.4099, allocations: 15.31 kB / 0.5055 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000296/0.4102, allocations: 192 kB / 0.5057 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01178/0.4219, allocations: 6.013 MB / 0.5115 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.4221, allocations: 13.19 kB / 0.5116 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02211/0.4442, allocations: 13.21 MB / 0.5245 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001936/0.4445, allocations: 92.09 kB / 0.5245 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003287/0.4448, allocations: 142 kB / 0.5247 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01772/0.4625, allocations: 6.782 MB / 0.5313 GB, free: 10.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.4626, allocations: 4 kB / 0.5313 GB, free: 10.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4626, allocations: 1.859 kB / 0.5313 GB, free: 10.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.4626, allocations: 3.562 kB / 0.5313 GB, free: 10.77 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.004077/0.4667, allocations: 1.542 MB / 0.5328 GB, free: 9.691 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.4667, allocations: 11.81 kB / 0.5328 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.461e-05/0.4668, allocations: 69.98 kB / 0.5329 GB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/0.467, allocations: 35.02 kB / 0.5329 GB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.4672, allocations: 245.6 kB / 0.5332 GB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.4673, allocations: 19.91 kB / 0.5332 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/0.4673, allocations: 27.5 kB / 0.5332 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006975/0.468, allocations: 0.5108 MB / 0.5337 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.468, allocations: 4.75 kB / 0.5337 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.748e-05/0.4681, allocations: 14.72 kB / 0.5337 GB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-05/0.4681, allocations: 25.64 kB / 0.5338 GB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008957/0.469, allocations: 0.9138 MB / 0.5346 GB, free: 8.645 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.001516/0.4705, allocations: 1.908 MB / 0.5365 GB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006332/0.4712, allocations: 265.7 kB / 0.5368 GB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.4713, allocations: 103.2 kB / 0.5369 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01657/0.4879, allocations: 15.69 MB / 0.5522 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004785/0.4884, allocations: 243 kB / 0.5524 GB, free: 3.691 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 2.274e-06/0.4884, allocations: 4 kB / 0.5524 GB, free: 3.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.00226/0.4907, allocations: 0.7869 MB / 0.5532 GB, free: 2.906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.4908, allocations: 268.4 kB / 0.5534 GB, free: 2.586 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.491, allocations: 199.8 kB / 0.5536 GB, free: 2.383 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/0.4911, allocations: 33.7 kB / 0.5537 GB, free: 2.344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.4912, allocations: 195.4 kB / 0.5539 GB, free: 2.148 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.735e-05/0.4913, allocations: 130 kB / 0.554 GB, free: 2.023 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.4914, allocations: 122 kB / 0.5541 GB, free: 1.898 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.939e-05/0.4915, allocations: 334.8 kB / 0.5544 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.4917, allocations: 97.06 kB / 0.5545 GB, free: 1.465 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004618/0.4922, allocations: 375.3 kB / 0.5549 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007343/0.4929, allocations: 0.5051 MB / 0.5554 GB, free: 396 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.4929, allocations: 4 kB / 0.5554 GB, free: 392 kB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001243/0.4942, allocations: 0.4935 MB / 0.5558 GB, free: 15.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.4942, allocations: 8 kB / 0.5558 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.4942, allocations: 12 kB / 0.5559 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/0.4943, allocations: 15.98 kB / 0.5559 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006263/0.4949, allocations: 177.8 kB / 0.556 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007009/0.4956, allocations: 1.195 MB / 0.5572 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004372/0.4961, allocations: 20.88 kB / 0.5572 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-05/0.4962, allocations: 47.98 kB / 0.5573 GB, free: 14.45 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.0002364/0.4964, allocations: 167.4 kB / 0.5574 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000324/0.4967, allocations: 31.72 kB / 0.5575 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.4978, allocations: 481.3 kB / 0.5579 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.4978, allocations: 4 kB / 0.5579 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4979, allocations: 1.312 kB / 0.5579 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.4979, allocations: 8.438 kB / 0.5579 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009179/0.4988, allocations: 0.6125 MB / 0.5585 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4988, allocations: 0 / 0.5585 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003986/0.4992, allocations: 89.58 kB / 0.5586 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.4992, allocations: 4 kB / 0.5586 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.4993, allocations: 7.984 kB / 0.5586 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005651/0.4998, allocations: 1.175 MB / 0.5598 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.4998, allocations: 4.031 kB / 0.5598 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005944/0.5004, allocations: 322.6 kB / 0.5601 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.059e-05/0.5005, allocations: 100.9 kB / 0.5602 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.741e-05/0.5006, allocations: 11.91 kB / 0.5602 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.5009, allocations: 13.3 kB / 0.5602 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.5009, allocations: 27.75 kB / 0.5602 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.5009, allocations: 16 kB / 0.5603 GB, free: 11.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001838/0.5011, allocations: 168.5 kB / 0.5604 GB, free: 11.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5011, allocations: 1.125 kB / 0.5604 GB, free: 11.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004962/0.5061, allocations: 1.684 MB / 0.5621 GB, free: 9.41 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.01049/0.5166, allocations: 3.087 MB / 0.5651 GB, free: 6.496 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00134/0.518, allocations: 335.5 kB / 0.5654 GB, free: 6.203 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.518, allocations: 4.125 kB / 0.5654 GB, free: 6.199 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004699/0.5185, allocations: 120.4 kB / 0.5655 GB, free: 6.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000775/0.5193, allocations: 102.6 kB / 0.5656 GB, free: 5.996 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3912/0.9105, allocations: 144.1 MB / 0.7063 GB, free: 200 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.9107, allocations: 0.7545 MB / 0.7071 GB, free: 199.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006992/0.9115, allocations: 139.5 kB / 0.7072 GB, free: 199.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.9117, allocations: 102.1 kB / 0.7073 GB, free: 199.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.252e-06/0.9117, allocations: 0.5312 kB / 0.7073 GB, free: 199.3 MB / 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})).