Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.8/1.8, allocations: 289.9 MB / 297.4 MB, free: 6.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001947/0.001947, allocations: 176.8 kB / 366.7 MB, free: 1.652 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.907/1.907, allocations: 205.2 MB / 0.626 GB, free: 7.133 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 90.09 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.323e-05/2.324e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7182/0.7183, allocations: 116.3 MB / 0.9733 GB, free: 76.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.254/5.973, allocations: 2.065 GB / 3.039 GB, free: 18.84 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/5.973, allocations: 87.17 kB / 3.039 GB, free: 18.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.319/8.292, allocations: 406.3 MB / 3.436 GB, free: 228.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.336e-06/8.292, allocations: 0.75 kB / 3.436 GB, free: 228.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.768e-05/8.292, allocations: 19.78 kB / 3.436 GB, free: 228.4 MB / 0.948 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.002455/8.295, allocations: 0.8491 MB / 3.436 GB, free: 228 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.303e-05/8.295, allocations: 10.47 kB / 3.436 GB, free: 228 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000192/8.295, allocations: 64.88 kB / 3.436 GB, free: 228 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009887/8.296, allocations: 433.7 kB / 3.437 GB, free: 227.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.569e-05/8.296, allocations: 16.94 kB / 3.437 GB, free: 227.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/8.296, allocations: 33 kB / 3.437 GB, free: 227.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007752/8.297, allocations: 276.6 kB / 3.437 GB, free: 227.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/8.298, allocations: 0.5864 MB / 3.438 GB, free: 227.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/8.298, allocations: 4.969 kB / 3.438 GB, free: 227.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.834e-05/8.298, allocations: 2.656 kB / 3.438 GB, free: 227.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.739e-05/8.298, allocations: 34.56 kB / 3.438 GB, free: 227.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00261/8.301, allocations: 2.981 MB / 3.441 GB, free: 225.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/8.301, allocations: 199.3 kB / 3.441 GB, free: 225 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/8.301, allocations: 116 kB / 3.441 GB, free: 224.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/8.301, allocations: 2.938 kB / 3.441 GB, free: 224.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/8.301, allocations: 45.45 kB / 3.441 GB, free: 224.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 3.377e-06/8.301, allocations: 3.938 kB / 3.441 GB, free: 224.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0004867/8.302, allocations: 144.2 kB / 3.441 GB, free: 224.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/8.302, allocations: 285.7 kB / 3.441 GB, free: 224.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/8.302, allocations: 220.3 kB / 3.442 GB, free: 224.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/8.302, allocations: 27.2 kB / 3.442 GB, free: 224.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/8.303, allocations: 298.6 kB / 3.442 GB, free: 224.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/8.303, allocations: 36.48 kB / 3.442 GB, free: 224.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/8.303, allocations: 0 / 3.442 GB, free: 224.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001126/8.303, allocations: 337.2 kB / 3.442 GB, free: 223.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.493e-05/8.303, allocations: 26.31 kB / 3.442 GB, free: 223.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/8.303, allocations: 95.55 kB / 3.442 GB, free: 223.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.378e-05/8.303, allocations: 38.31 kB / 3.442 GB, free: 223.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/8.303, allocations: 0.75 kB / 3.443 GB, free: 223.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000242/8.303, allocations: 123.2 kB / 3.443 GB, free: 223.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/8.303, allocations: 5.125 kB / 3.443 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/8.303, allocations: 1.656 kB / 3.443 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/8.303, allocations: 5.406 kB / 3.443 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/8.304, allocations: 29.16 kB / 3.443 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/8.304, allocations: 5.406 kB / 3.443 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/8.304, allocations: 30.67 kB / 3.443 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/8.304, allocations: 11.06 kB / 3.443 GB, free: 223.8 MB / 0.948 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 8.545e-05/8.304, allocations: 109.3 kB / 3.443 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003798/8.304, allocations: 141.8 kB / 3.443 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/8.305, allocations: 28.02 kB / 3.443 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.661e-05/8.305, allocations: 37.89 kB / 3.443 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/8.305, allocations: 3.625 kB / 3.443 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/8.305, allocations: 3.344 kB / 3.443 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/8.305, allocations: 2.844 kB / 3.443 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/8.306, allocations: 1.216 MB / 3.444 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/8.306, allocations: 2.438 kB / 3.444 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/8.306, allocations: 34.2 kB / 3.444 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.205e-05/8.306, allocations: 3.062 kB / 3.444 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/8.306, allocations: 6.094 kB / 3.444 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/8.306, allocations: 2.094 kB / 3.444 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/8.306, allocations: 3 kB / 3.444 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/8.307, allocations: 375.9 kB / 3.445 GB, free: 222.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.439e-05/8.307, allocations: 114.1 kB / 3.445 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.19e-05/8.307, allocations: 3.75 kB / 3.445 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/8.307, allocations: 25.67 kB / 3.445 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/8.307, allocations: 16.88 kB / 3.445 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/8.307, allocations: 6.094 kB / 3.445 GB, free: 222.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002191/8.307, allocations: 179.6 kB / 3.445 GB, free: 222.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.81e-07/8.307, allocations: 3.312 kB / 3.445 GB, free: 222.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009563/8.308, allocations: 200.8 kB / 3.445 GB, free: 222.1 MB / 0.948 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.003562/8.312, allocations: 3.059 MB / 3.448 GB, free: 220.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002751/8.312, allocations: 71.34 kB / 3.448 GB, free: 220.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.385e-06/8.312, allocations: 1.312 kB / 3.448 GB, free: 220.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/8.312, allocations: 50.28 kB / 3.448 GB, free: 220.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006831/8.313, allocations: 93.44 kB / 3.448 GB, free: 220.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/8.315, allocations: 0.7307 MB / 3.449 GB, free: 220 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006648/8.315, allocations: 0.9163 MB / 3.45 GB, free: 219.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001897/8.316, allocations: 48.86 kB / 3.45 GB, free: 219.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/8.316, allocations: 165.7 kB / 3.45 GB, free: 219.3 MB / 0.948 GB Notification: Performance of SimCode: time 2.81e-07/8.316, allocations: 0 / 3.45 GB, free: 219.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05352/8.369, allocations: 17.78 MB / 3.468 GB, free: 219.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002527/8.37, allocations: 164.7 kB / 3.468 GB, free: 218.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.701/11.07, allocations: 0 / 3.468 GB, free: 218.9 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)