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.001103/0.001103, allocations: 103.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001269/0.001269, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2126/0.2126, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 69.83 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1227, allocations: 62.45 MB / 480.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03429/0.157, allocations: 27.12 MB / 0.4954 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2609/0.418, allocations: 11.03 MB / 0.5061 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.4183, allocations: 1.844 kB / 0.5061 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003788/0.4187, allocations: 73.77 kB / 0.5062 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02516/0.4438, allocations: 9.241 MB / 0.5152 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.4451, allocations: 423.7 kB / 0.5156 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.4462, allocations: 492.3 kB / 0.5161 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.55e-05/0.4463, allocations: 16.31 kB / 0.5161 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004049/0.4467, allocations: 190.6 kB / 0.5163 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01153/0.4582, allocations: 6.017 MB / 0.5222 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.4584, allocations: 13.94 kB / 0.5222 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02308/0.4815, allocations: 13.23 MB / 0.5351 GB, free: 5.055 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.4817, allocations: 91.25 kB / 0.5352 GB, free: 5.008 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002268/0.4819, allocations: 139.3 kB / 0.5353 GB, free: 4.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01583/0.4977, allocations: 6.796 MB / 0.542 GB, free: 15.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4978, allocations: 0 / 0.542 GB, free: 15.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4978, allocations: 0 / 0.542 GB, free: 15.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.4978, allocations: 4 kB / 0.542 GB, free: 15.45 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.003941/0.5017, allocations: 1.559 MB / 0.5435 GB, free: 13.85 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.5018, allocations: 12.03 kB / 0.5435 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.637e-05/0.5019, allocations: 64.03 kB / 0.5436 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.5021, allocations: 31.72 kB / 0.5436 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.5024, allocations: 254.6 kB / 0.5438 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.5024, allocations: 23.69 kB / 0.5439 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.5024, allocations: 24 kB / 0.5439 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008473/0.5033, allocations: 0.509 MB / 0.5444 GB, free: 12.87 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.5033, allocations: 4 kB / 0.5444 GB, free: 12.87 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.416e-05/0.5034, allocations: 12 kB / 0.5444 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.832e-05/0.5034, allocations: 28.55 kB / 0.5444 GB, free: 12.83 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.5045, allocations: 0.9115 MB / 0.5453 GB, free: 11.92 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.002075/0.5066, allocations: 1.918 MB / 0.5472 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007472/0.5074, allocations: 270.6 kB / 0.5474 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.5075, allocations: 101.5 kB / 0.5475 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01974/0.5273, allocations: 15.68 MB / 0.5629 GB, free: 6.848 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004961/0.5278, allocations: 251.4 kB / 0.5631 GB, free: 6.566 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 2.705e-06/0.5278, allocations: 0 / 0.5631 GB, free: 6.566 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002412/0.5302, allocations: 0.7825 MB / 0.5639 GB, free: 5.762 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.5304, allocations: 270 kB / 0.5641 GB, free: 5.438 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.5306, allocations: 203.3 kB / 0.5643 GB, free: 5.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.213e-05/0.5306, allocations: 33.7 kB / 0.5643 GB, free: 5.191 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.5307, allocations: 200.7 kB / 0.5645 GB, free: 4.996 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.895e-05/0.5309, allocations: 128.2 kB / 0.5647 GB, free: 4.871 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.531, allocations: 118.1 kB / 0.5648 GB, free: 4.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.5311, allocations: 330.8 kB / 0.5651 GB, free: 4.418 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.5313, allocations: 97.06 kB / 0.5652 GB, free: 4.324 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004598/0.5318, allocations: 361.5 kB / 0.5655 GB, free: 3.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007614/0.5326, allocations: 0.51 MB / 0.566 GB, free: 3.203 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.5326, allocations: 4 kB / 0.566 GB, free: 3.199 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001263/0.5338, allocations: 0.4967 MB / 0.5665 GB, free: 2.699 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/0.5339, allocations: 12.25 kB / 0.5665 GB, free: 2.688 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/0.5339, allocations: 8 kB / 0.5665 GB, free: 2.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.405e-05/0.534, allocations: 19.94 kB / 0.5666 GB, free: 2.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006376/0.5346, allocations: 180.9 kB / 0.5667 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006921/0.5353, allocations: 1.192 MB / 0.5679 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/0.5356, allocations: 20 kB / 0.5679 GB, free: 1.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.641e-05/0.5357, allocations: 43.98 kB / 0.5679 GB, free: 1.184 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.0002175/0.5359, allocations: 173.5 kB / 0.5681 GB, free: 1.004 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/0.5361, allocations: 31.72 kB / 0.5681 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.5371, allocations: 494.1 kB / 0.5686 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.5371, allocations: 2.25 kB / 0.5686 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.5372, allocations: 4 kB / 0.5686 GB, free: 472 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.5372, allocations: 3.984 kB / 0.5686 GB, free: 468 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009623/0.5381, allocations: 0.6096 MB / 0.5692 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.5382, allocations: 0.6875 kB / 0.5692 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/0.5386, allocations: 79.88 kB / 0.5693 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-06/0.5386, allocations: 6.531 kB / 0.5693 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.5386, allocations: 11.98 kB / 0.5693 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006191/0.5392, allocations: 1.172 MB / 0.5705 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5392, allocations: 0 / 0.5705 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006117/0.5399, allocations: 327.3 kB / 0.5708 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.486e-05/0.5399, allocations: 100.9 kB / 0.5709 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.504e-05/0.54, allocations: 11.84 kB / 0.5709 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.5402, allocations: 11.98 kB / 0.5709 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.5403, allocations: 27.91 kB / 0.5709 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.5403, allocations: 12.88 kB / 0.5709 GB, free: 13.95 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001631/0.5405, allocations: 172.5 kB / 0.5711 GB, free: 13.78 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5405, allocations: 0 / 0.5711 GB, free: 13.78 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00477/0.5453, allocations: 1.694 MB / 0.5727 GB, free: 12.08 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.009068/0.5544, allocations: 3.084 MB / 0.5758 GB, free: 9.148 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.5555, allocations: 325.1 kB / 0.5761 GB, free: 8.832 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.5555, allocations: 0.75 kB / 0.5761 GB, free: 8.832 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004557/0.556, allocations: 131.7 kB / 0.5762 GB, free: 8.703 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007891/0.5568, allocations: 114.8 kB / 0.5763 GB, free: 8.594 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.412/0.9688, allocations: 144.3 MB / 0.7173 GB, free: 206.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.969, allocations: 0.7572 MB / 0.718 GB, free: 205.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005883/0.9696, allocations: 139.1 kB / 0.7181 GB, free: 205.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.9698, allocations: 101.2 kB / 0.7182 GB, free: 205.5 MB / 0.545 GB Notification: Performance of SimCode: time 8.11e-07/0.9698, allocations: 0 / 0.7182 GB, free: 205.5 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})).