Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties",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.0014/0.0014, allocations: 99.78 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.472/2.472, allocations: 390.3 MB / 0.6653 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003715, allocations: 8 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8011/0.8015, allocations: 142.3 MB / 0.9536 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.004859/0.8064, allocations: 3.702 MB / 0.9572 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002274/0.8087, allocations: 2.167 MB / 0.9593 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.845e-05/0.8088, allocations: 1.031 kB / 0.9593 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.809, allocations: 32.22 kB / 0.9593 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002414/0.8093, allocations: 91.33 kB / 0.9594 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009892/0.8103, allocations: 411.2 kB / 0.9598 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.8105, allocations: 147.9 kB / 0.96 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.03e-05/0.8105, allocations: 9.688 kB / 0.96 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.8116, allocations: 410.5 kB / 0.9604 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.8117, allocations: 73.94 kB / 0.9604 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.8117, allocations: 6.875 kB / 0.9604 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.8128, allocations: 434.2 kB / 0.9609 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.906e-05/0.8129, allocations: 33.77 kB / 0.9609 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.22e-05/0.8129, allocations: 52.14 kB / 0.9609 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003893/0.8133, allocations: 214.5 kB / 0.9611 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.8133, allocations: 0 / 0.9611 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.745e-06/0.8133, allocations: 0 / 0.9611 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.8134, allocations: 0.9062 kB / 0.9611 GB, free: 2.285 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006666/0.814, allocations: 473.9 kB / 0.9616 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.8141, allocations: 12.31 kB / 0.9616 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.8e-05/0.8142, allocations: 52.86 kB / 0.9617 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.8143, allocations: 20.81 kB / 0.9617 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.8145, allocations: 211.1 kB / 0.9619 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.8146, allocations: 10.7 kB / 0.9619 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.8146, allocations: 14.5 kB / 0.9619 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003751/0.815, allocations: 249.5 kB / 0.9621 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.815, allocations: 0.7812 kB / 0.9621 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.815, allocations: 10.2 kB / 0.9621 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.179e-05/0.8151, allocations: 5.625 kB / 0.9622 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000554/0.8156, allocations: 432.6 kB / 0.9626 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009617/0.8166, allocations: 1.027 MB / 0.9636 GB, free: 120 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.817, allocations: 162.5 kB / 0.9637 GB, free: 40 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001744/0.8187, allocations: 1.844 MB / 0.9655 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.8187, allocations: 31.78 kB / 0.9656 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.844e-06/0.8188, allocations: 1.281 kB / 0.9656 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0003277/0.8191, allocations: 141.7 kB / 0.9657 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.8191, allocations: 52.56 kB / 0.9657 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.8193, allocations: 179.2 kB / 0.9659 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.8194, allocations: 31.8 kB / 0.9659 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.835e-05/0.8195, allocations: 134.3 kB / 0.9661 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.051e-05/0.8195, allocations: 50.72 kB / 0.9661 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.397e-06/0.8195, allocations: 5.312 kB / 0.9661 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.8197, allocations: 326.2 kB / 0.9664 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.579e-05/0.8197, allocations: 36.33 kB / 0.9665 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.8199, allocations: 148.4 kB / 0.9666 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.554e-05/0.82, allocations: 55.7 kB / 0.9667 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.82, allocations: 0 / 0.9667 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003245/0.8203, allocations: 215.3 kB / 0.9669 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.8203, allocations: 6.188 kB / 0.9669 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.8204, allocations: 3.625 kB / 0.9669 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.8204, allocations: 5.438 kB / 0.9669 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.8206, allocations: 64.62 kB / 0.9669 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.8206, allocations: 9.188 kB / 0.967 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.8207, allocations: 29.5 kB / 0.967 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.8208, allocations: 14.17 kB / 0.967 GB, free: 12.69 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001197/0.8209, allocations: 139.7 kB / 0.9671 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.649e-05/0.8209, allocations: 15.38 kB / 0.9671 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003137/0.8213, allocations: 154.2 kB / 0.9673 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.8213, allocations: 6.969 kB / 0.9673 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.8213, allocations: 0 / 0.9673 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.8213, allocations: 3.984 kB / 0.9673 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.8216, allocations: 213.8 kB / 0.9675 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.8216, allocations: 8.922 kB / 0.9675 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.8217, allocations: 30.67 kB / 0.9675 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.8217, allocations: 1.031 kB / 0.9675 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.8218, allocations: 6.422 kB / 0.9675 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.8218, allocations: 0 / 0.9675 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.8218, allocations: 1.406 kB / 0.9676 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.8221, allocations: 222.4 kB / 0.9678 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.8222, allocations: 126.2 kB / 0.9679 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.8222, allocations: 0.8125 kB / 0.9679 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.8224, allocations: 24.48 kB / 0.9679 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.378e-05/0.8225, allocations: 12.77 kB / 0.9679 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.8225, allocations: 10.86 kB / 0.9679 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.563e-05/0.8226, allocations: 127.6 kB / 0.9681 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8226, allocations: 0 / 0.9681 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004042/0.823, allocations: 68.69 kB / 0.9681 GB, free: 11.74 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006765/0.8237, allocations: 0.8341 MB / 0.9689 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002311/0.8239, allocations: 117.4 kB / 0.969 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.8239, allocations: 1.031 kB / 0.969 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.628e-05/0.824, allocations: 43.03 kB / 0.9691 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.8244, allocations: 49.16 kB / 0.9691 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.8267, allocations: 3.259 MB / 0.9723 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.827, allocations: 0.7224 MB / 0.973 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000192/0.8272, allocations: 52.39 kB / 0.9731 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.022e-05/0.8272, allocations: 40.61 kB / 0.9731 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of SimCode: time 4.61e-07/0.8273, allocations: 1 kB / 0.9731 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01606/0.8433, allocations: 4.677 MB / 0.9777 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000242/0.8436, allocations: 193.2 kB / 0.9779 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.884/2.728, allocations: 1.094 kB / 0.9779 GB, free: 4.547 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat does not exist to compare? outputFormat=mat