Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001248/0.001248, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001338/0.001338, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2366/0.2366, allocations: 46.12 MB / 344.4 MB, free: 11.46 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 79.88 kB / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3648, allocations: 62.43 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03618/0.401, allocations: 27.14 MB / 0.5571 GB, free: 6.508 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01483/0.4159, allocations: 11.03 MB / 0.5679 GB, free: 11.44 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.4161, allocations: 3.938 kB / 0.5679 GB, free: 11.44 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004099/0.4166, allocations: 75.56 kB / 0.568 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02693/0.4435, allocations: 9.248 MB / 0.577 GB, free: 2.105 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.4445, allocations: 413.2 kB / 0.5774 GB, free: 1.707 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007386/0.4453, allocations: 498.4 kB / 0.5779 GB, free: 1.219 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.478e-05/0.4454, allocations: 20.23 kB / 0.5779 GB, free: 1.199 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002822/0.4457, allocations: 191.4 kB / 0.5781 GB, free: 1.012 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0106/0.4563, allocations: 6.008 MB / 0.584 GB, free: 10.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.55e-05/0.4564, allocations: 16 kB / 0.584 GB, free: 10.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02747/0.4839, allocations: 13.43 MB / 0.5971 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.484, allocations: 83.77 kB / 0.5972 GB, free: 13.44 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002516/0.4843, allocations: 147.3 kB / 0.5973 GB, free: 13.3 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02264/0.507, allocations: 6.812 MB / 0.604 GB, free: 6.469 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.507, allocations: 4 kB / 0.604 GB, free: 6.465 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.507, allocations: 0 / 0.604 GB, free: 6.465 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.507, allocations: 0 / 0.604 GB, free: 6.465 MB / 462.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.00469/0.5117, allocations: 1.614 MB / 0.6055 GB, free: 4.793 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.5118, allocations: 8.031 kB / 0.6056 GB, free: 4.785 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.027e-05/0.5119, allocations: 66.72 kB / 0.6056 GB, free: 4.711 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000192/0.5121, allocations: 35.8 kB / 0.6056 GB, free: 4.676 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.5124, allocations: 250.6 kB / 0.6059 GB, free: 4.391 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.5124, allocations: 24.56 kB / 0.6059 GB, free: 4.367 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.494e-05/0.5125, allocations: 24 kB / 0.6059 GB, free: 4.344 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008783/0.5134, allocations: 0.513 MB / 0.6064 GB, free: 3.801 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.5134, allocations: 0 / 0.6064 GB, free: 3.801 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.616e-05/0.5134, allocations: 15.94 kB / 0.6064 GB, free: 3.785 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.44e-05/0.5135, allocations: 28.55 kB / 0.6065 GB, free: 3.758 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.5147, allocations: 0.9154 MB / 0.6074 GB, free: 2.84 MB / 462.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.002169/0.5168, allocations: 1.894 MB / 0.6092 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007406/0.5176, allocations: 279.7 kB / 0.6095 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.5178, allocations: 105.5 kB / 0.6096 GB, free: 420 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02037/0.5381, allocations: 15.67 MB / 0.6249 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005405/0.5387, allocations: 249.6 kB / 0.6251 GB, free: 13.45 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.993e-06/0.5387, allocations: 0 / 0.6251 GB, free: 13.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=36): time 0.002303/0.541, allocations: 0.8023 MB / 0.6259 GB, free: 12.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000155/0.5412, allocations: 265 kB / 0.6262 GB, free: 12.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.5414, allocations: 206.9 kB / 0.6264 GB, free: 12.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.735e-05/0.5415, allocations: 33.95 kB / 0.6264 GB, free: 12.05 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.5416, allocations: 212 kB / 0.6266 GB, free: 11.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.5417, allocations: 138.8 kB / 0.6267 GB, free: 11.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.5419, allocations: 122.1 kB / 0.6268 GB, free: 11.58 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.542, allocations: 338.8 kB / 0.6272 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.5422, allocations: 97.05 kB / 0.6273 GB, free: 11.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004932/0.5427, allocations: 361.6 kB / 0.6276 GB, free: 10.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007971/0.5435, allocations: 0.5065 MB / 0.6281 GB, free: 10.03 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.5435, allocations: 4 kB / 0.6281 GB, free: 10.03 MB / 494.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001215/0.5447, allocations: 0.5008 MB / 0.6286 GB, free: 9.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.5448, allocations: 8 kB / 0.6286 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.598e-05/0.5448, allocations: 12.84 kB / 0.6286 GB, free: 9.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.156e-05/0.5448, allocations: 15.94 kB / 0.6286 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006349/0.5455, allocations: 183.8 kB / 0.6288 GB, free: 9.305 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007257/0.5462, allocations: 1.18 MB / 0.63 GB, free: 8.078 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.5465, allocations: 27.89 kB / 0.63 GB, free: 8.051 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-05/0.5466, allocations: 47.98 kB / 0.63 GB, free: 8.004 MB / 494.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.0001968/0.5468, allocations: 165.8 kB / 0.6302 GB, free: 7.832 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/0.547, allocations: 35.84 kB / 0.6302 GB, free: 7.797 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00099/0.548, allocations: 482.1 kB / 0.6307 GB, free: 7.293 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.548, allocations: 4 kB / 0.6307 GB, free: 7.289 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.548, allocations: 4.031 kB / 0.6307 GB, free: 7.285 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.548, allocations: 3.938 kB / 0.6307 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009609/0.549, allocations: 0.603 MB / 0.6313 GB, free: 6.609 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.549, allocations: 0 / 0.6313 GB, free: 6.609 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003873/0.5494, allocations: 91.8 kB / 0.6314 GB, free: 6.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.5494, allocations: 4.125 kB / 0.6314 GB, free: 6.516 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.5494, allocations: 11.98 kB / 0.6314 GB, free: 6.504 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006351/0.5501, allocations: 1.172 MB / 0.6325 GB, free: 5.285 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.5501, allocations: 4.031 kB / 0.6325 GB, free: 5.281 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000602/0.5507, allocations: 321.7 kB / 0.6328 GB, free: 4.938 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.908e-05/0.5508, allocations: 101 kB / 0.6329 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.217e-05/0.5508, allocations: 11.94 kB / 0.6329 GB, free: 4.809 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/0.5511, allocations: 15.98 kB / 0.633 GB, free: 4.793 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.5511, allocations: 19.97 kB / 0.633 GB, free: 4.773 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/0.5512, allocations: 19.94 kB / 0.633 GB, free: 4.754 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001751/0.5513, allocations: 164.5 kB / 0.6332 GB, free: 4.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5513, allocations: 7.938 kB / 0.6332 GB, free: 4.582 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005048/0.5564, allocations: 1.714 MB / 0.6348 GB, free: 2.863 MB / 494.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.009823/0.5662, allocations: 3.131 MB / 0.6379 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001252/0.5675, allocations: 319.8 kB / 0.6382 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.5675, allocations: 0 / 0.6382 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004376/0.568, allocations: 131.9 kB / 0.6383 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.5692, allocations: 97.58 kB / 0.6384 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5711/1.14, allocations: 144.4 MB / 0.7794 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/1.141, allocations: 0.7495 MB / 0.7802 GB, free: 105.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004988/1.141, allocations: 144.8 kB / 0.7803 GB, free: 105.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/1.141, allocations: 103.4 kB / 0.7804 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of SimCode: time 8.02e-07/1.141, allocations: 0 / 0.7804 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08127/1.223, allocations: 51.31 MB / 0.8305 GB, free: 54.51 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.16/15.38, allocations: 12.8 kB / 0.8305 GB, free: 54.5 MB / 0.5606 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1)