Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_3_2_3_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.0009693/0.0009695, allocations: 96.44 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 174.3 kB / 16.57 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.851/1.851, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4069/0.4069, allocations: 43.55 MB / 314.5 MB, free: 9.012 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000507/0.000507, allocations: 12 kB / 384 MB, free: 8.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1482, allocations: 58.85 MB / 442.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.3306/0.4788, allocations: 22.53 MB / 465.4 MB, free: 36.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01387/0.4928, allocations: 10.91 MB / 476.3 MB, free: 31.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003418/0.4932, allocations: 3.219 kB / 476.3 MB, free: 31.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004125/0.4936, allocations: 49.75 kB / 476.3 MB, free: 31.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02402/0.5176, allocations: 6.211 MB / 482.5 MB, free: 29.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.5187, allocations: 327.2 kB / 482.9 MB, free: 28.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007887/0.5195, allocations: 312.3 kB / 483.2 MB, free: 28.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.489e-05/0.5196, allocations: 15.02 kB / 483.2 MB, free: 28.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004397/0.5201, allocations: 175.8 kB / 483.4 MB, free: 28.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01952/0.5396, allocations: 11.1 MB / 494.5 MB, free: 27.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.5398, allocations: 9.312 kB / 494.5 MB, free: 27.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04118/0.581, allocations: 11.35 MB / 0.494 GB, free: 24.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002607/0.5813, allocations: 83.62 kB / 0.494 GB, free: 24.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002714/0.5816, allocations: 76.08 kB / 0.4941 GB, free: 24.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0147/0.5963, allocations: 4.099 MB / 0.4981 GB, free: 23.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5964, allocations: 0 / 0.4981 GB, free: 23.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.5964, allocations: 0 / 0.4981 GB, free: 23.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.5964, allocations: 0 / 0.4981 GB, free: 23.06 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.00652/0.6029, allocations: 1.459 MB / 0.4995 GB, free: 21.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.603, allocations: 12.95 kB / 0.4995 GB, free: 21.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001474/0.6032, allocations: 69.47 kB / 0.4996 GB, free: 21.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002225/0.6034, allocations: 30.56 kB / 0.4996 GB, free: 21.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003574/0.6038, allocations: 241.6 kB / 0.4999 GB, free: 21.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.6038, allocations: 21.92 kB / 0.4999 GB, free: 21.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.227e-05/0.6039, allocations: 28.89 kB / 0.4999 GB, free: 21.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009272/0.6048, allocations: 0.5075 MB / 0.5004 GB, free: 21.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.6048, allocations: 0 / 0.5004 GB, free: 21.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.282e-05/0.6049, allocations: 19.98 kB / 0.5004 GB, free: 21.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.802e-05/0.6049, allocations: 24.48 kB / 0.5005 GB, free: 21.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009919/0.6059, allocations: 0.9193 MB / 0.5014 GB, free: 20.29 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.001953/0.6079, allocations: 1.96 MB / 0.5033 GB, free: 18.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000665/0.6086, allocations: 267.7 kB / 0.5035 GB, free: 17.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01744/0.626, allocations: 15.71 MB / 0.5189 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007781/0.6269, allocations: 241.2 kB / 0.5191 GB, free: 14.95 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 4.088e-06/0.6269, allocations: 0 / 0.5191 GB, free: 14.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.00268/0.6296, allocations: 0.7761 MB / 0.5199 GB, free: 14.14 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001402/0.6298, allocations: 273 kB / 0.5201 GB, free: 13.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.63, allocations: 204.9 kB / 0.5203 GB, free: 13.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.084e-05/0.6301, allocations: 33.69 kB / 0.5203 GB, free: 13.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.6302, allocations: 191.5 kB / 0.5205 GB, free: 13.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.6303, allocations: 126.4 kB / 0.5206 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.169e-05/0.6304, allocations: 12 kB / 0.5207 GB, free: 13.24 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.6305, allocations: 342.8 kB / 0.521 GB, free: 12.9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.6307, allocations: 85.06 kB / 0.5211 GB, free: 12.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005166/0.6312, allocations: 365.5 kB / 0.5214 GB, free: 12.33 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000413/0.6317, allocations: 156.3 kB / 0.5216 GB, free: 12.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.6317, allocations: 4 kB / 0.5216 GB, free: 12.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001391/0.6331, allocations: 0.4895 MB / 0.522 GB, free: 11.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.605e-05/0.6331, allocations: 8 kB / 0.5221 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/0.6332, allocations: 16.61 kB / 0.5221 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.469e-05/0.6332, allocations: 16 kB / 0.5221 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006642/0.6339, allocations: 180.4 kB / 0.5223 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006919/0.6346, allocations: 1.192 MB / 0.5234 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003713/0.635, allocations: 31.89 kB / 0.5235 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.6351, allocations: 43.98 kB / 0.5235 GB, free: 10.15 MB / 398.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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002232/0.6353, allocations: 173.5 kB / 0.5237 GB, free: 9.973 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/0.6355, allocations: 35.77 kB / 0.5237 GB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.6367, allocations: 499 kB / 0.5242 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.6367, allocations: 8.031 kB / 0.5242 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.6367, allocations: 4.438 kB / 0.5242 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.6367, allocations: 3.984 kB / 0.5242 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.6378, allocations: 0.6134 MB / 0.5248 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.6379, allocations: 5.859 kB / 0.5248 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004095/0.6383, allocations: 83.86 kB / 0.5249 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.151e-05/0.6383, allocations: 8.125 kB / 0.5249 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/0.6383, allocations: 8 kB / 0.5249 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006314/0.639, allocations: 1.176 MB / 0.526 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.639, allocations: 4.031 kB / 0.526 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006818/0.6397, allocations: 376.2 kB / 0.5264 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.6398, allocations: 128.8 kB / 0.5265 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.804e-05/0.6399, allocations: 4 kB / 0.5265 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.6402, allocations: 19.94 kB / 0.5265 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.6402, allocations: 23.97 kB / 0.5266 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/0.6403, allocations: 15.81 kB / 0.5266 GB, free: 6.746 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001966/0.6405, allocations: 168.5 kB / 0.5267 GB, free: 6.582 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6405, allocations: 3.938 kB / 0.5267 GB, free: 6.578 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.008073/0.6486, allocations: 1.612 MB / 0.5283 GB, free: 4.965 MB / 398.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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01462/0.6632, allocations: 3.205 MB / 0.5314 GB, free: 1.699 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001497/0.6648, allocations: 322.9 kB / 0.5318 GB, free: 1.391 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/0.6648, allocations: 0 / 0.5318 GB, free: 1.391 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005189/0.6653, allocations: 120.5 kB / 0.5319 GB, free: 1.273 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006273/0.666, allocations: 64.36 kB / 0.5319 GB, free: 1.211 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.6764, allocations: 8.376 MB / 0.5401 GB, free: 8.602 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.6769, allocations: 0.7644 MB / 0.5409 GB, free: 7.812 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006463/0.6776, allocations: 142.8 kB / 0.541 GB, free: 7.668 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/0.6778, allocations: 95.39 kB / 0.5411 GB, free: 7.574 MB / 414.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6778, allocations: 0 / 0.5411 GB, free: 7.574 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09777/0.7756, allocations: 50.54 MB / 0.5904 GB, free: 5.039 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002288/0.7759, allocations: 276.7 kB / 0.5907 GB, free: 4.68 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.863/4.639, allocations: 0 / 0.5907 GB, free: 4.68 MB / 462.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat does not exist to compare? outputFormat=mat