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.001768/0.001768, allocations: 114.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002097/0.002097, allocations: 205.2 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.468/1.468, allocations: 227.4 MB / 247 MB, free: 10.42 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.2311/0.2311, allocations: 46.11 MB / 344.3 MB, free: 11.47 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.003251/0.003251, allocations: 75.86 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4233/0.4266, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03938/0.466, allocations: 27.14 MB / 0.5571 GB, free: 6.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01674/0.4828, allocations: 11.02 MB / 0.5679 GB, free: 11.44 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002764/0.4832, allocations: 0 / 0.5679 GB, free: 11.44 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005303/0.4837, allocations: 75.56 kB / 0.568 GB, free: 11.37 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02999/0.5137, allocations: 9.245 MB / 0.577 GB, free: 2.113 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.515, allocations: 419 kB / 0.5774 GB, free: 1.707 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009184/0.516, allocations: 490.4 kB / 0.5779 GB, free: 1.227 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.213e-05/0.5161, allocations: 28.23 kB / 0.5779 GB, free: 1.199 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004326/0.5165, allocations: 187.3 kB / 0.5781 GB, free: 1.016 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01197/0.5285, allocations: 6.019 MB / 0.584 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.419e-05/0.5286, allocations: 12 kB / 0.584 GB, free: 10.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0307/0.5593, allocations: 13.43 MB / 0.5971 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000185/0.5596, allocations: 83.75 kB / 0.5972 GB, free: 13.44 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003304/0.5599, allocations: 143.3 kB / 0.5973 GB, free: 13.3 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0235/0.5834, allocations: 6.812 MB / 0.604 GB, free: 6.473 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/0.5835, allocations: 0 / 0.604 GB, free: 6.473 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5835, allocations: 0 / 0.604 GB, free: 6.473 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.261e-05/0.5835, allocations: 0 / 0.604 GB, free: 6.473 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.005778/0.5893, allocations: 1.614 MB / 0.6055 GB, free: 4.801 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.5894, allocations: 12.03 kB / 0.6055 GB, free: 4.789 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001039/0.5895, allocations: 66.7 kB / 0.6056 GB, free: 4.715 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002148/0.5897, allocations: 35.8 kB / 0.6056 GB, free: 4.68 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.5901, allocations: 246.6 kB / 0.6059 GB, free: 4.398 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.5901, allocations: 24.56 kB / 0.6059 GB, free: 4.375 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.796e-05/0.5902, allocations: 27.98 kB / 0.6059 GB, free: 4.348 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000944/0.5911, allocations: 0.513 MB / 0.6064 GB, free: 3.805 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.5911, allocations: 0 / 0.6064 GB, free: 3.805 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.391e-05/0.5912, allocations: 23.92 kB / 0.6065 GB, free: 3.781 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.984e-05/0.5912, allocations: 20.56 kB / 0.6065 GB, free: 3.762 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.5925, allocations: 0.9154 MB / 0.6074 GB, free: 2.844 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.002353/0.5949, allocations: 1.902 MB / 0.6092 GB, free: 0.793 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007753/0.5957, allocations: 279.7 kB / 0.6095 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.5959, allocations: 101.5 kB / 0.6096 GB, free: 420 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02004/0.6159, allocations: 15.66 MB / 0.6249 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005184/0.6165, allocations: 253.5 kB / 0.6251 GB, free: 13.46 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.765e-06/0.6165, allocations: 0 / 0.6251 GB, free: 13.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=36): time 0.002388/0.6189, allocations: 0.8062 MB / 0.6259 GB, free: 12.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001648/0.6191, allocations: 269 kB / 0.6262 GB, free: 12.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.6193, allocations: 210.8 kB / 0.6264 GB, free: 12.08 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.599e-05/0.6193, allocations: 29.7 kB / 0.6264 GB, free: 12.05 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.6195, allocations: 208 kB / 0.6266 GB, free: 11.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.6196, allocations: 139.1 kB / 0.6267 GB, free: 11.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.6198, allocations: 130.1 kB / 0.6269 GB, free: 11.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.62, allocations: 334.8 kB / 0.6272 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.6202, allocations: 93.06 kB / 0.6273 GB, free: 11.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005203/0.6207, allocations: 361.6 kB / 0.6276 GB, free: 10.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008738/0.6216, allocations: 0.5073 MB / 0.6281 GB, free: 10.03 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.6216, allocations: 0 / 0.6281 GB, free: 10.03 MB / 494.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001308/0.6229, allocations: 0.4972 MB / 0.6286 GB, free: 9.523 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.6229, allocations: 12 kB / 0.6286 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.6229, allocations: 8 kB / 0.6286 GB, free: 9.504 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.136e-05/0.623, allocations: 15.94 kB / 0.6286 GB, free: 9.488 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006248/0.6236, allocations: 179.7 kB / 0.6288 GB, free: 9.312 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008296/0.6245, allocations: 1.192 MB / 0.63 GB, free: 8.074 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002825/0.6247, allocations: 23.89 kB / 0.63 GB, free: 8.051 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.728e-05/0.6248, 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.000202/0.625, allocations: 165.8 kB / 0.6302 GB, free: 7.832 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002186/0.6253, allocations: 35.84 kB / 0.6302 GB, free: 7.797 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.6263, allocations: 477.7 kB / 0.6307 GB, free: 7.297 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.6263, allocations: 4 kB / 0.6307 GB, free: 7.293 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6263, allocations: 0 / 0.6307 GB, free: 7.293 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.6264, allocations: 8 kB / 0.6307 GB, free: 7.285 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009961/0.6274, allocations: 0.607 MB / 0.6313 GB, free: 6.609 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/0.6274, allocations: 4 kB / 0.6313 GB, free: 6.605 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003837/0.6278, allocations: 91.78 kB / 0.6314 GB, free: 6.516 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.6278, allocations: 0 / 0.6314 GB, free: 6.516 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.6278, allocations: 11.94 kB / 0.6314 GB, free: 6.504 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006708/0.6285, allocations: 1.18 MB / 0.6325 GB, free: 5.277 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.6285, allocations: 0 / 0.6325 GB, free: 5.277 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006376/0.6292, allocations: 325.7 kB / 0.6328 GB, free: 4.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.88e-05/0.6293, allocations: 101 kB / 0.6329 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.3e-05/0.6293, allocations: 11.94 kB / 0.6329 GB, free: 4.801 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.6295, allocations: 11.98 kB / 0.633 GB, free: 4.789 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.6296, allocations: 19.98 kB / 0.633 GB, free: 4.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.36e-05/0.6296, allocations: 19.98 kB / 0.633 GB, free: 4.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001815/0.6298, allocations: 168.5 kB / 0.6332 GB, free: 4.582 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6298, allocations: 3.938 kB / 0.6332 GB, free: 4.578 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004795/0.6346, allocations: 1.714 MB / 0.6348 GB, free: 2.859 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.01116/0.6458, allocations: 3.121 MB / 0.6379 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001272/0.6471, allocations: 324.9 kB / 0.6382 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.6471, allocations: 0 / 0.6382 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004821/0.6476, allocations: 123.8 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.0008672/0.6485, allocations: 109.1 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.4905/1.139, 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.0001621/1.139, allocations: 0.7534 MB / 0.7802 GB, free: 105.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000438/1.14, allocations: 141.2 kB / 0.7803 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/1.14, allocations: 104.1 kB / 0.7804 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/1.14, allocations: 0 / 0.7804 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07749/1.217, allocations: 51.32 MB / 0.8305 GB, free: 54.44 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.39/15.61, allocations: 12.73 kB / 0.8305 GB, free: 54.43 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 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)