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.0007732/0.0007732, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009048/0.0009049, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.15/1.15, allocations: 227.7 MB / 246.8 MB, free: 11.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1755/0.1755, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002221/0.0002221, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08819/0.08842, allocations: 63.56 MB / 483.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.028/0.1165, allocations: 28.16 MB / 0.4993 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.183/0.2995, allocations: 11.51 MB / 0.5106 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.2997, allocations: 4.969 kB / 0.5106 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002892/0.3, allocations: 67.44 kB / 0.5107 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01622/0.3162, allocations: 7.606 MB / 0.5181 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000749/0.3169, allocations: 390.2 kB / 0.5185 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005832/0.3175, allocations: 0.6859 MB / 0.5191 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.008e-05/0.3176, allocations: 14.41 kB / 0.5191 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002051/0.3178, allocations: 183.4 kB / 0.5193 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008909/0.3267, allocations: 6.302 MB / 0.5255 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.134e-05/0.3268, allocations: 10.81 kB / 0.5255 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01873/0.3455, allocations: 13.76 MB / 0.5389 GB, free: 5.496 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.3456, allocations: 93.09 kB / 0.539 GB, free: 5.449 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.3458, allocations: 163.3 kB / 0.5392 GB, free: 5.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009251/0.3551, allocations: 6.952 MB / 0.546 GB, free: 15.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.3551, allocations: 4 kB / 0.546 GB, free: 15.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3551, allocations: 0 / 0.546 GB, free: 15.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.3551, allocations: 0 / 0.546 GB, free: 15.78 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.003664/0.3588, allocations: 1.495 MB / 0.5474 GB, free: 14.26 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.3588, allocations: 8.875 kB / 0.5474 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.964e-05/0.3589, allocations: 71.97 kB / 0.5475 GB, free: 14.17 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.3591, allocations: 31.56 kB / 0.5475 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.3593, allocations: 249.6 kB / 0.5478 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.3593, allocations: 23.19 kB / 0.5478 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.403e-05/0.3594, allocations: 31.94 kB / 0.5478 GB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007616/0.3602, allocations: 0.5071 MB / 0.5483 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.3602, allocations: 4.688 kB / 0.5483 GB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.543e-05/0.3602, allocations: 16 kB / 0.5483 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.499e-05/0.3603, allocations: 24.55 kB / 0.5484 GB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.3613, allocations: 0.9193 MB / 0.5493 GB, free: 12.32 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.001894/0.3632, allocations: 1.902 MB / 0.5511 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006462/0.3639, allocations: 283.6 kB / 0.5514 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.364, allocations: 105.5 kB / 0.5515 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01657/0.3806, allocations: 15.73 MB / 0.5668 GB, free: 7.195 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004173/0.3811, allocations: 256 kB / 0.5671 GB, free: 6.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 2.134e-06/0.3811, allocations: 0 / 0.5671 GB, free: 6.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002016/0.3831, allocations: 0.7914 MB / 0.5679 GB, free: 6.094 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.826e-05/0.3832, allocations: 261.7 kB / 0.5681 GB, free: 5.777 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.3834, allocations: 214.2 kB / 0.5683 GB, free: 5.562 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.3834, allocations: 33.7 kB / 0.5683 GB, free: 5.523 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.3835, allocations: 198.9 kB / 0.5685 GB, free: 5.328 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.275e-05/0.3836, allocations: 123.5 kB / 0.5687 GB, free: 5.207 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.794e-05/0.3837, allocations: 49.69 kB / 0.5687 GB, free: 5.152 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.3838, allocations: 338.7 kB / 0.569 GB, free: 4.816 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.384, allocations: 93.06 kB / 0.5691 GB, free: 4.727 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004079/0.3844, allocations: 361.6 kB / 0.5695 GB, free: 4.242 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000687/0.3851, allocations: 0.5089 MB / 0.57 GB, free: 3.609 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.3851, allocations: 4 kB / 0.57 GB, free: 3.605 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001096/0.3862, allocations: 0.4975 MB / 0.5704 GB, free: 3.102 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3862, allocations: 8 kB / 0.5705 GB, free: 3.094 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.3862, allocations: 16.09 kB / 0.5705 GB, free: 3.078 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.3863, allocations: 12 kB / 0.5705 GB, free: 3.066 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000561/0.3868, allocations: 181 kB / 0.5707 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005647/0.3874, allocations: 1.184 MB / 0.5718 GB, free: 1.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/0.3877, allocations: 36.91 kB / 0.5718 GB, free: 1.625 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-05/0.3878, allocations: 43.98 kB / 0.5719 GB, free: 1.582 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.0001616/0.3879, allocations: 177.5 kB / 0.5721 GB, free: 1.398 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.3881, allocations: 31.72 kB / 0.5721 GB, free: 1.367 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009344/0.389, allocations: 485.5 kB / 0.5725 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3891, allocations: 4 kB / 0.5726 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3891, allocations: 0 / 0.5726 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.3891, allocations: 3.984 kB / 0.5726 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008029/0.3899, allocations: 0.6076 MB / 0.5731 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.3899, allocations: 2.938 kB / 0.5732 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003507/0.3902, allocations: 87.48 kB / 0.5732 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.3903, allocations: 4 kB / 0.5732 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.3903, allocations: 8 kB / 0.5732 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004896/0.3908, allocations: 1.18 MB / 0.5744 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.3908, allocations: 4.031 kB / 0.5744 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005025/0.3913, allocations: 320.1 kB / 0.5747 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.603e-05/0.3914, allocations: 120.8 kB / 0.5748 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.204e-05/0.3914, allocations: 8 kB / 0.5748 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.3917, allocations: 12 kB / 0.5748 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.3917, allocations: 27.84 kB / 0.5749 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.3917, allocations: 19.98 kB / 0.5749 GB, free: 14.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001376/0.3919, allocations: 164.5 kB / 0.575 GB, free: 14.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.012e-06/0.3919, allocations: 0 / 0.575 GB, free: 14.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003867/0.3958, allocations: 1.694 MB / 0.5767 GB, free: 12.47 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.007576/0.4034, allocations: 3.087 MB / 0.5797 GB, free: 9.531 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008344/0.4042, allocations: 325.7 kB / 0.58 GB, free: 9.215 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.4042, allocations: 0 / 0.58 GB, free: 9.215 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00039/0.4046, allocations: 121.3 kB / 0.5801 GB, free: 9.098 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006965/0.4053, allocations: 111.7 kB / 0.5802 GB, free: 8.992 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3655/0.7708, allocations: 144 MB / 0.7208 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.771, allocations: 0.7529 MB / 0.7216 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005368/0.7716, allocations: 146.2 kB / 0.7217 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.7718, allocations: 103.2 kB / 0.7218 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of SimCode: time 8.01e-07/0.7718, allocations: 0 / 0.7218 GB, free: 162.7 MB / 0.5294 GB [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})).