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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009492/0.0009492, allocations: 100 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.001016/0.001016, allocations: 177.3 kB / 15.94 MB, free: 228 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.371/1.371, allocations: 223.2 MB / 239.9 MB, free: 5.332 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.464/2.464, allocations: 390.3 MB / 0.6653 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003083/0.0003084, allocations: 12 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6424/0.6427, allocations: 142.3 MB / 0.9536 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1609/0.8036, allocations: 146.9 MB / 1.097 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00822/0.8119, allocations: 7.007 MB / 1.104 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004614/0.8124, allocations: 15.88 kB / 1.104 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.8135, allocations: 346.4 kB / 1.104 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00102/0.8145, allocations: 374.9 kB / 1.105 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.8158, allocations: 0.5222 MB / 1.105 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007306/0.8166, allocations: 0.6776 MB / 1.106 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005681/0.8171, allocations: 460.2 kB / 1.106 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002546/0.8197, allocations: 1.223 MB / 1.107 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002583/0.82, allocations: 215 kB / 1.108 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.531e-05/0.82, allocations: 20 kB / 1.108 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.8202, allocations: 55.95 kB / 1.108 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001951/0.8204, allocations: 219.4 kB / 1.108 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.8205, allocations: 129.4 kB / 1.108 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004195/0.8209, allocations: 454.8 kB / 1.108 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.8209, allocations: 0 / 1.108 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.663e-06/0.821, allocations: 0 / 1.108 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.821, allocations: 0 / 1.108 GB, free: 1.219 MB / 0.8575 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.0008615/0.8218, allocations: 0.725 MB / 1.109 GB, free: 456 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.8219, allocations: 8.031 kB / 1.109 GB, free: 448 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.131e-05/0.822, allocations: 102.4 kB / 1.109 GB, free: 336 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.609e-05/0.8221, allocations: 63.25 kB / 1.109 GB, free: 272 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005515/0.8226, allocations: 398.4 kB / 1.11 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/0.8227, allocations: 49.23 kB / 1.11 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.441e-05/0.8227, allocations: 52 kB / 1.11 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009081/0.8237, allocations: 0.6988 MB / 1.11 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.8237, allocations: 3.953 kB / 1.11 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.113e-05/0.8237, allocations: 24 kB / 1.11 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-05/0.8238, allocations: 39.92 kB / 1.111 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006022/0.8244, allocations: 379.4 kB / 1.111 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002347/0.8268, allocations: 3.227 MB / 1.114 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/0.827, allocations: 226.1 kB / 1.114 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.827, allocations: 4 kB / 1.114 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.8271, allocations: 50.55 kB / 1.114 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.8271, allocations: 0 / 1.114 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0006663/0.8277, allocations: 265.8 kB / 1.115 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.8279, allocations: 290.7 kB / 1.115 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007061/0.8286, allocations: 0.6838 MB / 1.115 GB, free: 9.461 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.8286, allocations: 29.7 kB / 1.116 GB, free: 9.426 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.8288, allocations: 268.5 kB / 1.116 GB, free: 9.16 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.8288, allocations: 31.66 kB / 1.116 GB, free: 9.129 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-06/0.8289, allocations: 4.031 kB / 1.116 GB, free: 9.125 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.829, allocations: 370.7 kB / 1.116 GB, free: 8.754 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.8291, allocations: 39.97 kB / 1.116 GB, free: 8.715 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.8293, allocations: 105 kB / 1.116 GB, free: 8.594 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.8294, allocations: 47.97 kB / 1.116 GB, free: 8.547 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.8295, allocations: 4 kB / 1.116 GB, free: 8.543 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003411/0.8298, allocations: 200.7 kB / 1.117 GB, free: 8.34 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.8298, allocations: 8 kB / 1.117 GB, free: 8.332 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.8298, allocations: 4.188 kB / 1.117 GB, free: 8.328 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.8299, allocations: 7.984 kB / 1.117 GB, free: 8.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.8301, allocations: 51.89 kB / 1.117 GB, free: 8.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.8301, allocations: 0 / 1.117 GB, free: 8.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.8303, allocations: 71.31 kB / 1.117 GB, free: 8.199 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.8304, allocations: 8 kB / 1.117 GB, free: 8.191 MB / 0.8731 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 () * Number of clocked 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 0.0001874/0.8306, allocations: 201.8 kB / 1.117 GB, free: 7.984 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001991/0.8308, allocations: 59.25 kB / 1.117 GB, free: 7.926 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.304e-05/0.8309, allocations: 56.33 kB / 1.117 GB, free: 7.863 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.8309, allocations: 7.984 kB / 1.117 GB, free: 7.855 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.8309, allocations: 4.188 kB / 1.117 GB, free: 7.852 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.8309, allocations: 4 kB / 1.117 GB, free: 7.848 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.8322, allocations: 1.308 MB / 1.118 GB, free: 6.449 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.8322, allocations: 0 / 1.118 GB, free: 6.449 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.8324, allocations: 55.91 kB / 1.118 GB, free: 6.395 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.8324, allocations: 4 kB / 1.118 GB, free: 6.391 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.8324, allocations: 8.25 kB / 1.118 GB, free: 6.383 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.8324, allocations: 7.938 kB / 1.118 GB, free: 6.375 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.8325, allocations: 4 kB / 1.118 GB, free: 6.371 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004294/0.8329, allocations: 445.9 kB / 1.119 GB, free: 5.836 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.8331, allocations: 152.3 kB / 1.119 GB, free: 5.668 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.464e-05/0.8331, allocations: 8 kB / 1.119 GB, free: 5.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.8333, allocations: 15.98 kB / 1.119 GB, free: 5.645 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.8334, allocations: 23.88 kB / 1.119 GB, free: 5.621 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.8334, allocations: 4.062 kB / 1.119 GB, free: 5.617 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004948/0.8339, allocations: 0.4912 MB / 1.119 GB, free: 5.129 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8339, allocations: 0 / 1.119 GB, free: 5.129 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003799/0.8343, allocations: 79.94 kB / 1.12 GB, free: 5.051 MB / 0.8731 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 () * Number of clocked 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.0009904/0.8353, allocations: 1.646 MB / 1.121 GB, free: 3.324 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002946/0.8356, allocations: 119.9 kB / 1.121 GB, free: 3.207 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.8356, allocations: 0 / 1.121 GB, free: 3.207 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.8357, allocations: 67.89 kB / 1.121 GB, free: 3.141 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.8369, allocations: 274.1 kB / 1.122 GB, free: 2.883 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004037/0.841, allocations: 3.765 MB / 1.125 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004529/0.8415, allocations: 0.9208 MB / 1.126 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002446/0.8417, allocations: 104.6 kB / 1.126 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.8419, allocations: 171.4 kB / 1.126 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of SimCode: time 5.61e-07/0.8419, allocations: 0 / 1.126 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02356/0.8655, allocations: 12.95 MB / 1.139 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001518/0.8656, allocations: 217.3 kB / 1.139 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/2.686, allocations: 0 / 1.139 GB, free: 0.8633 MB / 0.8887 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