Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001169/0.001169, allocations: 103.7 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001416/0.001416, allocations: 208.6 kB / 18.58 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2221/0.2221, allocations: 46.1 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 77.25 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1354, allocations: 62.45 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03434/0.1698, allocations: 27.12 MB / 0.4954 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2634/0.4332, allocations: 11.02 MB / 0.5061 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003133/0.4337, allocations: 1.875 kB / 0.5061 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005593/0.4343, allocations: 80.03 kB / 0.5062 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0256/0.4599, allocations: 9.244 MB / 0.5152 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009881/0.4609, allocations: 417.4 kB / 0.5156 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006465/0.4616, allocations: 493.1 kB / 0.5161 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.709e-05/0.4616, allocations: 20.45 kB / 0.5161 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002498/0.4619, allocations: 195.2 kB / 0.5163 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01079/0.4727, allocations: 6.008 MB / 0.5222 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.715e-05/0.4728, allocations: 13.09 kB / 0.5222 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02702/0.4999, allocations: 13.24 MB / 0.5351 GB, free: 5.094 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001723/0.5001, allocations: 87.67 kB / 0.5352 GB, free: 5.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003052/0.5004, allocations: 146.2 kB / 0.5353 GB, free: 5.012 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02328/0.5237, allocations: 6.8 MB / 0.542 GB, free: 15.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.5238, allocations: 0 / 0.542 GB, free: 15.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5238, allocations: 0 / 0.542 GB, free: 15.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.5238, allocations: 0 / 0.542 GB, free: 15.5 MB / 398.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.004738/0.5285, allocations: 1.557 MB / 0.5435 GB, free: 13.9 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.5286, allocations: 12.03 kB / 0.5435 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.201e-05/0.5287, allocations: 68.03 kB / 0.5436 GB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001955/0.5289, allocations: 27.72 kB / 0.5436 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.5292, allocations: 250.6 kB / 0.5438 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.5292, allocations: 24.16 kB / 0.5439 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.49e-05/0.5292, allocations: 24 kB / 0.5439 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000832/0.5301, allocations: 0.512 MB / 0.5444 GB, free: 12.92 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.5301, allocations: 0 / 0.5444 GB, free: 12.92 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.613e-05/0.5301, allocations: 12 kB / 0.5444 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.812e-05/0.5302, allocations: 24.48 kB / 0.5444 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.5313, allocations: 0.9194 MB / 0.5453 GB, free: 11.96 MB / 398.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.002102/0.5335, allocations: 1.911 MB / 0.5472 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007225/0.5342, allocations: 265.4 kB / 0.5474 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.5344, allocations: 109.5 kB / 0.5475 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01992/0.5543, allocations: 15.68 MB / 0.5629 GB, free: 6.895 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006086/0.5549, allocations: 257.7 kB / 0.5631 GB, free: 6.609 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 5.22e-06/0.555, allocations: 3.844 kB / 0.5631 GB, free: 6.609 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002447/0.5574, allocations: 0.7808 MB / 0.5639 GB, free: 5.809 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001593/0.5576, allocations: 273.2 kB / 0.5641 GB, free: 5.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002451/0.5579, allocations: 207.3 kB / 0.5643 GB, free: 5.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.842e-05/0.5579, allocations: 33.7 kB / 0.5644 GB, free: 5.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.5581, allocations: 191.4 kB / 0.5645 GB, free: 5.039 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.5582, allocations: 131.6 kB / 0.5647 GB, free: 4.914 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.5583, allocations: 122.1 kB / 0.5648 GB, free: 4.789 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.5585, allocations: 330.8 kB / 0.5651 GB, free: 4.457 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.5586, allocations: 97.05 kB / 0.5652 GB, free: 4.363 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005074/0.5592, allocations: 362.4 kB / 0.5655 GB, free: 3.879 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008717/0.56, allocations: 0.5061 MB / 0.566 GB, free: 3.246 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.5601, allocations: 3.938 kB / 0.566 GB, free: 3.242 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001283/0.5614, allocations: 0.5052 MB / 0.5665 GB, free: 2.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.5614, allocations: 11.94 kB / 0.5665 GB, free: 2.719 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.5614, allocations: 8 kB / 0.5665 GB, free: 2.711 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.5614, allocations: 12 kB / 0.5666 GB, free: 2.699 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006572/0.5621, allocations: 177.3 kB / 0.5667 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006473/0.5628, allocations: 1.192 MB / 0.5679 GB, free: 1.289 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002807/0.563, allocations: 19.98 kB / 0.5679 GB, free: 1.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.127e-05/0.5631, allocations: 47.98 kB / 0.568 GB, free: 1.223 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.0002024/0.5633, allocations: 177.5 kB / 0.5681 GB, free: 1.039 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/0.5635, allocations: 34.06 kB / 0.5682 GB, free: 1.008 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.5646, allocations: 478 kB / 0.5686 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.5647, allocations: 7.938 kB / 0.5686 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.5647, allocations: 0 / 0.5686 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.5647, allocations: 4 kB / 0.5686 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.5657, allocations: 0.6017 MB / 0.5692 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.5658, allocations: 4 kB / 0.5692 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004614/0.5662, allocations: 84.73 kB / 0.5693 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.81e-06/0.5663, allocations: 0 / 0.5693 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.5663, allocations: 8 kB / 0.5693 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007295/0.567, allocations: 1.176 MB / 0.5705 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.567, allocations: 4.062 kB / 0.5705 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007261/0.5678, allocations: 327.4 kB / 0.5708 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.5679, allocations: 96.91 kB / 0.5709 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.621e-05/0.568, allocations: 11.84 kB / 0.5709 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.5682, allocations: 12 kB / 0.5709 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/0.5683, allocations: 27.91 kB / 0.5709 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.592e-05/0.5683, allocations: 19.98 kB / 0.5709 GB, free: 13.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001918/0.5685, allocations: 168.4 kB / 0.5711 GB, free: 13.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5685, allocations: 0 / 0.5711 GB, free: 13.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005796/0.5743, allocations: 1.694 MB / 0.5727 GB, free: 12.12 MB / 430.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.0103/0.5847, allocations: 3.094 MB / 0.5758 GB, free: 9.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001303/0.586, allocations: 337.9 kB / 0.5761 GB, free: 8.855 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.586, allocations: 0 / 0.5761 GB, free: 8.855 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004766/0.5865, allocations: 119.8 kB / 0.5762 GB, free: 8.738 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00083/0.5874, allocations: 107.1 kB / 0.5763 GB, free: 8.637 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4505/1.038, allocations: 144.3 MB / 0.7172 GB, free: 206.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/1.038, allocations: 0.756 MB / 0.718 GB, free: 205.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006473/1.039, allocations: 145.8 kB / 0.7181 GB, free: 205.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002006/1.039, allocations: 101 kB / 0.7182 GB, free: 205.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.173e-06/1.039, allocations: 0.75 kB / 0.7182 GB, free: 205.6 MB / 0.545 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})).