Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_latest_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.001292/0.001291, allocations: 100.1 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.001444/0.001444, 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.3/1.3, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.316/3.316, allocations: 409.2 MB / 0.6838 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000584/0.0005842, allocations: 12 kB / 0.8375 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.004, allocations: 146.8 MB / 0.9809 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2992/1.304, allocations: 146.9 MB / 1.124 GB, free: 3.07 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01681/1.32, allocations: 7.021 MB / 1.131 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009361/1.321, allocations: 15.88 kB / 1.131 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001894/1.323, allocations: 350.4 kB / 1.132 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00204/1.325, allocations: 374.8 kB / 1.132 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002974/1.328, allocations: 0.5151 MB / 1.132 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001909/1.33, allocations: 0.6737 MB / 1.133 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/1.332, allocations: 460.4 kB / 1.133 GB, free: 9.672 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005666/1.338, allocations: 1.215 MB / 1.135 GB, free: 8.453 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006036/1.338, allocations: 219 kB / 1.135 GB, free: 8.238 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000128/1.338, allocations: 20 kB / 1.135 GB, free: 8.219 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003224/1.339, allocations: 51.98 kB / 1.135 GB, free: 8.168 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004333/1.339, allocations: 219.4 kB / 1.135 GB, free: 7.953 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002529/1.34, allocations: 129.4 kB / 1.135 GB, free: 7.82 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0008781/1.34, allocations: 462.9 kB / 1.136 GB, free: 7.367 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/1.34, allocations: 0 / 1.136 GB, free: 7.367 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.056e-06/1.34, allocations: 0 / 1.136 GB, free: 7.367 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.134e-05/1.34, allocations: 0 / 1.136 GB, free: 7.367 MB / 0.8887 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.001711/1.342, allocations: 0.7071 MB / 1.136 GB, free: 6.613 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.137e-05/1.342, allocations: 16.03 kB / 1.136 GB, free: 6.598 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002045/1.343, allocations: 106.4 kB / 1.137 GB, free: 6.484 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001827/1.343, allocations: 63.25 kB / 1.137 GB, free: 6.422 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/1.344, allocations: 402.4 kB / 1.137 GB, free: 5.992 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.968e-05/1.344, allocations: 41.3 kB / 1.137 GB, free: 5.949 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/1.344, allocations: 55.95 kB / 1.137 GB, free: 5.895 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/1.346, allocations: 0.6988 MB / 1.138 GB, free: 5.113 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.346e-05/1.346, allocations: 4 kB / 1.138 GB, free: 5.109 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.388e-05/1.346, allocations: 23.98 kB / 1.138 GB, free: 5.086 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001078/1.346, allocations: 39.92 kB / 1.138 GB, free: 5.047 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/1.348, allocations: 380.8 kB / 1.138 GB, free: 4.676 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004878/1.353, allocations: 3.224 MB / 1.141 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005207/1.353, allocations: 230.1 kB / 1.142 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.49e-05/1.353, allocations: 12 kB / 1.142 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.658e-05/1.353, allocations: 42.5 kB / 1.142 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=10): time 4.038e-06/1.353, allocations: 0 / 1.142 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of matching and sorting (n=10): time 0.001401/1.355, allocations: 269.8 kB / 1.142 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002324/1.355, allocations: 294.7 kB / 1.142 GB, free: 312 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/1.357, allocations: 0.68 MB / 1.143 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/1.357, allocations: 25.7 kB / 1.143 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003774/1.357, allocations: 268.2 kB / 1.143 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.926e-05/1.357, allocations: 35.45 kB / 1.143 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.065e-06/1.357, allocations: 32 / 1.143 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002335/1.357, allocations: 370.8 kB / 1.143 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/1.358, allocations: 43.95 kB / 1.143 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00033/1.358, allocations: 105 kB / 1.144 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/1.358, allocations: 47.95 kB / 1.144 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.358, allocations: 0 / 1.144 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007249/1.359, allocations: 204.8 kB / 1.144 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/1.359, allocations: 4 kB / 1.144 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/1.359, allocations: 4 kB / 1.144 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/1.359, allocations: 8.141 kB / 1.144 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004471/1.36, allocations: 51.89 kB / 1.144 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.077e-05/1.36, allocations: 4 kB / 1.144 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005064/1.36, allocations: 71.34 kB / 1.144 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/1.36, allocations: 4 kB / 1.144 GB, free: 14.35 MB / 0.9044 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.0003894/1.361, allocations: 193.8 kB / 1.144 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004193/1.361, allocations: 63.25 kB / 1.144 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001647/1.361, allocations: 64.31 kB / 1.144 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/1.361, allocations: 7.953 kB / 1.144 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/1.361, allocations: 0 / 1.144 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/1.361, allocations: 4 kB / 1.144 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002657/1.364, allocations: 1.304 MB / 1.146 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.036e-06/1.364, allocations: 4 kB / 1.146 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003635/1.364, allocations: 47.95 kB / 1.146 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.506e-05/1.364, allocations: 4 kB / 1.146 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001703/1.365, allocations: 11.94 kB / 1.146 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.356e-05/1.365, allocations: 12.33 kB / 1.146 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/1.365, allocations: 7.922 kB / 1.146 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/1.366, allocations: 446 kB / 1.146 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003226/1.366, allocations: 152.3 kB / 1.146 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/1.366, allocations: 4 kB / 1.146 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004238/1.367, allocations: 27.92 kB / 1.146 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.325e-05/1.367, allocations: 11.94 kB / 1.146 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/1.367, allocations: 4 kB / 1.146 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001122/1.368, allocations: 0.4912 MB / 1.147 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of sort global known variables: time 6.32e-07/1.368, allocations: 4 kB / 1.147 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0007224/1.369, allocations: 87.83 kB / 1.147 GB, free: 11.2 MB / 0.9044 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.002058/1.371, allocations: 1.634 MB / 1.148 GB, free: 9.488 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006052/1.371, allocations: 112 kB / 1.149 GB, free: 9.379 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/1.371, allocations: 0 / 1.149 GB, free: 9.379 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002882/1.372, allocations: 67.89 kB / 1.149 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002661/1.374, allocations: 279.8 kB / 1.149 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008815/1.383, allocations: 3.761 MB / 1.153 GB, free: 5.184 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009471/1.384, allocations: 0.913 MB / 1.153 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0006206/1.385, allocations: 108.6 kB / 1.154 GB, free: 4.133 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003631/1.385, allocations: 171.4 kB / 1.154 GB, free: 3.965 MB / 0.9044 GB Notification: Performance of SimCode: time 3.276e-06/1.385, allocations: 0 / 1.154 GB, free: 3.965 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0483/1.434, allocations: 12.98 MB / 1.166 GB, free: 7.242 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002941/1.434, allocations: 224.9 kB / 1.167 GB, free: 7.004 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.357/4.791, allocations: 0 / 1.167 GB, free: 7.004 MB / 0.92 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat does not exist to compare? outputFormat=mat