Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.217/2.217, allocations: 387.1 MB / 399.7 MB, free: 9.445 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 169 kB / 492.3 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 221.3 MB / 0.7871 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008582/0.0008581, allocations: 98.73 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.756e-05/2.758e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2478, allocations: 142.4 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.102/5.349, allocations: 1.87 GB / 3.083 GB, free: 359 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/5.35, allocations: 83.09 kB / 3.083 GB, free: 359 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.511/6.861, allocations: 415.4 MB / 3.488 GB, free: 300.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.533e-06/6.861, allocations: 0 / 3.488 GB, free: 300.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.708e-05/6.861, allocations: 19.98 kB / 3.488 GB, free: 300.7 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.00185/6.863, allocations: 0.8517 MB / 3.489 GB, free: 300.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 8.297e-05/6.863, allocations: 11.94 kB / 3.489 GB, free: 300.4 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001136/6.863, allocations: 93.75 kB / 3.489 GB, free: 300.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/6.863, allocations: 66.06 kB / 3.489 GB, free: 300.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007329/6.864, allocations: 433.3 kB / 3.49 GB, free: 300.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.54e-05/6.864, allocations: 39.94 kB / 3.49 GB, free: 300.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-05/6.864, allocations: 56.56 kB / 3.49 GB, free: 300.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009888/6.865, allocations: 0.6593 MB / 3.49 GB, free: 299.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/6.865, allocations: 6.281 kB / 3.49 GB, free: 299.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.523e-05/6.865, allocations: 27.09 kB / 3.491 GB, free: 299.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.457e-05/6.865, allocations: 30.05 kB / 3.491 GB, free: 299.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005192/6.866, allocations: 327 kB / 3.491 GB, free: 299.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002365/6.868, allocations: 3.218 MB / 3.494 GB, free: 297.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/6.868, allocations: 205.8 kB / 3.494 GB, free: 297.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/6.868, allocations: 114.8 kB / 3.494 GB, free: 297.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/6.868, allocations: 6.656 kB / 3.494 GB, free: 297.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/6.868, allocations: 54.41 kB / 3.494 GB, free: 297.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/6.868, allocations: 0 / 3.494 GB, free: 297.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=10): time 0.0004349/6.869, allocations: 171.9 kB / 3.495 GB, free: 297.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.787e-05/6.869, allocations: 297.8 kB / 3.495 GB, free: 296.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007551/6.87, allocations: 0.5976 MB / 3.495 GB, free: 296.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/6.87, allocations: 31.77 kB / 3.495 GB, free: 296.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/6.87, allocations: 267.4 kB / 3.496 GB, free: 296.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/6.87, allocations: 34.73 kB / 3.496 GB, free: 296.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/6.87, allocations: 9.531 kB / 3.496 GB, free: 296.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001089/6.87, allocations: 364.9 kB / 3.496 GB, free: 296.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.981e-05/6.87, allocations: 20.44 kB / 3.496 GB, free: 296.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/6.87, allocations: 105.9 kB / 3.496 GB, free: 296.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.759e-05/6.87, allocations: 41.31 kB / 3.496 GB, free: 296.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/6.87, allocations: 1.031 kB / 3.496 GB, free: 296.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002274/6.87, allocations: 165.7 kB / 3.496 GB, free: 296 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/6.87, allocations: 9.344 kB / 3.496 GB, free: 296 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/6.87, allocations: 0 / 3.496 GB, free: 296 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/6.87, allocations: 5.938 kB / 3.496 GB, free: 296 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/6.871, allocations: 20.2 kB / 3.496 GB, free: 296 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/6.871, allocations: 6.141 kB / 3.496 GB, free: 296 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/6.871, allocations: 74 kB / 3.496 GB, free: 296 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/6.871, allocations: 7.969 kB / 3.496 GB, free: 296 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * 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 6.551e-05/6.871, allocations: 119.4 kB / 3.497 GB, free: 295.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/6.871, allocations: 56.56 kB / 3.497 GB, free: 295.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/6.871, allocations: 61.95 kB / 3.497 GB, free: 295.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/6.871, allocations: 3.812 kB / 3.497 GB, free: 295.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/6.871, allocations: 5.906 kB / 3.497 GB, free: 295.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/6.871, allocations: 5.719 kB / 3.497 GB, free: 295.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/6.873, allocations: 1.294 MB / 3.498 GB, free: 294.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/6.873, allocations: 2.562 kB / 3.498 GB, free: 294.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/6.873, allocations: 24.31 kB / 3.498 GB, free: 294.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/6.873, allocations: 3.688 kB / 3.498 GB, free: 294.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/6.873, allocations: 6.922 kB / 3.498 GB, free: 294.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.672e-06/6.873, allocations: 6.781 kB / 3.498 GB, free: 294.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/6.873, allocations: 6.484 kB / 3.498 GB, free: 294.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003227/6.873, allocations: 419.7 kB / 3.498 GB, free: 294.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/6.873, allocations: 147.4 kB / 3.499 GB, free: 294.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.836e-05/6.873, allocations: 7.016 kB / 3.499 GB, free: 294.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/6.874, allocations: 23 kB / 3.499 GB, free: 294.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/6.874, allocations: 18.83 kB / 3.499 GB, free: 294.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/6.874, allocations: 3.906 kB / 3.499 GB, free: 294.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006115/6.874, allocations: 0.4884 MB / 3.499 GB, free: 294.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.71e-07/6.874, allocations: 0 / 3.499 GB, free: 294.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001037/6.875, allocations: 223.4 kB / 3.499 GB, free: 294.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * 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.002833/6.878, allocations: 2.918 MB / 3.502 GB, free: 292.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000196/6.878, allocations: 77.91 kB / 3.502 GB, free: 292.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/6.878, allocations: 0 / 3.502 GB, free: 292.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 7.497e-05/6.879, allocations: 50.95 kB / 3.502 GB, free: 292.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/6.88, allocations: 266.8 kB / 3.503 GB, free: 292.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/6.881, allocations: 0.7926 MB / 3.503 GB, free: 292.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004761/6.882, allocations: 0.92 MB / 3.504 GB, free: 291.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002804/6.882, allocations: 102.9 kB / 3.504 GB, free: 291.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/6.882, allocations: 166.7 kB / 3.504 GB, free: 291.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.463e-06/6.882, allocations: 2.75 kB / 3.504 GB, free: 291.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08747/6.97, allocations: 39.95 MB / 3.544 GB, free: 291.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/6.97, allocations: 190.8 kB / 3.544 GB, free: 290.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.099/10.07, allocations: 2.625 kB / 3.544 GB, free: 290.8 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat does not exist to compare? outputFormat=mat