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.722/1.722, allocations: 289.7 MB / 302.2 MB, free: 2.141 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.001193/0.001193, allocations: 178.9 kB / 371.6 MB, free: 3.359 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.919/1.919, allocations: 205.2 MB / 0.6309 GB, free: 11.74 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.001045/0.001045, allocations: 88.83 kB / 0.745 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.24e-05/4.287e-05, allocations: 0 / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2798, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.561/6.841, allocations: 2.066 GB / 3.046 GB, free: 130.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/6.841, allocations: 84.45 kB / 3.046 GB, free: 130.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.547/8.388, allocations: 411.7 MB / 3.448 GB, free: 99.55 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.542e-06/8.388, allocations: 224 / 3.448 GB, free: 99.55 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.785e-05/8.388, allocations: 27.92 kB / 3.448 GB, free: 99.53 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.002496/8.391, allocations: 0.8468 MB / 3.449 GB, free: 98.64 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.036e-05/8.391, allocations: 12.03 kB / 3.449 GB, free: 98.62 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00025/8.391, allocations: 101.8 kB / 3.449 GB, free: 98.52 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002322/8.391, allocations: 67.16 kB / 3.449 GB, free: 98.45 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009855/8.392, allocations: 416.6 kB / 3.449 GB, free: 98.01 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.028e-05/8.393, allocations: 41.31 kB / 3.449 GB, free: 97.97 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/8.393, allocations: 55.98 kB / 3.45 GB, free: 97.91 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/8.394, allocations: 0.6646 MB / 3.45 GB, free: 97.17 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.978e-05/8.394, allocations: 0 / 3.45 GB, free: 97.17 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.839e-05/8.394, allocations: 25.38 kB / 3.45 GB, free: 97.14 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.867e-05/8.394, allocations: 35.92 kB / 3.45 GB, free: 97.11 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007108/8.395, allocations: 327.5 kB / 3.451 GB, free: 96.79 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002943/8.398, allocations: 3.219 MB / 3.454 GB, free: 93.43 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/8.398, allocations: 206.4 kB / 3.454 GB, free: 93.13 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/8.398, allocations: 116.7 kB / 3.454 GB, free: 92.99 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/8.398, allocations: 7.938 kB / 3.454 GB, free: 92.98 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/8.398, allocations: 46.44 kB / 3.454 GB, free: 92.93 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 2.474e-06/8.398, allocations: 0 / 3.454 GB, free: 92.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0006011/8.399, allocations: 180.8 kB / 3.454 GB, free: 92.74 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.85e-05/8.399, allocations: 290.7 kB / 3.454 GB, free: 92.39 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008533/8.4, allocations: 0.6012 MB / 3.455 GB, free: 91.78 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/8.4, allocations: 30.02 kB / 3.455 GB, free: 91.75 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002114/8.4, allocations: 272.2 kB / 3.455 GB, free: 91.47 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/8.4, allocations: 35.48 kB / 3.455 GB, free: 91.44 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.722e-06/8.4, allocations: 4 kB / 3.455 GB, free: 91.43 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001082/8.4, allocations: 366.8 kB / 3.456 GB, free: 91.07 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.777e-05/8.4, allocations: 19.98 kB / 3.456 GB, free: 91.05 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.687e-05/8.4, allocations: 108.5 kB / 3.456 GB, free: 90.91 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.358e-05/8.401, allocations: 27.98 kB / 3.456 GB, free: 90.88 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/8.401, allocations: 7.953 kB / 3.456 GB, free: 90.88 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002023/8.401, allocations: 164.9 kB / 3.456 GB, free: 90.71 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/8.401, allocations: 4 kB / 3.456 GB, free: 90.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/8.401, allocations: 0 / 3.456 GB, free: 90.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/8.401, allocations: 7.984 kB / 3.456 GB, free: 90.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/8.401, allocations: 27.92 kB / 3.456 GB, free: 90.67 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/8.401, allocations: 0 / 3.456 GB, free: 90.67 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/8.401, allocations: 75.45 kB / 3.456 GB, free: 90.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.673e-05/8.401, allocations: 11.98 kB / 3.456 GB, free: 90.58 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.618e-05/8.401, allocations: 109 kB / 3.456 GB, free: 90.47 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002341/8.402, allocations: 59.3 kB / 3.456 GB, free: 90.41 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.411e-05/8.402, allocations: 56.33 kB / 3.456 GB, free: 90.34 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/8.402, allocations: 4 kB / 3.456 GB, free: 90.34 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/8.402, allocations: 8 kB / 3.456 GB, free: 90.33 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/8.402, allocations: 11.97 kB / 3.456 GB, free: 90.32 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/8.403, allocations: 1.3 MB / 3.458 GB, free: 88.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/8.403, allocations: 4 kB / 3.458 GB, free: 88.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.164e-05/8.403, allocations: 23.98 kB / 3.458 GB, free: 88.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/8.403, allocations: 4 kB / 3.458 GB, free: 88.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/8.403, allocations: 0 / 3.458 GB, free: 88.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/8.403, allocations: 7.938 kB / 3.458 GB, free: 88.89 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/8.403, allocations: 4.281 kB / 3.458 GB, free: 88.89 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/8.404, allocations: 426 kB / 3.458 GB, free: 88.37 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001829/8.404, allocations: 152.4 kB / 3.458 GB, free: 88.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.365e-05/8.404, allocations: 7.984 kB / 3.458 GB, free: 88.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/8.404, allocations: 16.08 kB / 3.458 GB, free: 88.18 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/8.404, allocations: 23.86 kB / 3.458 GB, free: 88.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/8.404, allocations: 8 kB / 3.458 GB, free: 88.15 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004728/8.405, allocations: 491.1 kB / 3.459 GB, free: 87.68 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.01e-07/8.405, allocations: 0 / 3.459 GB, free: 87.68 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001037/8.406, allocations: 231.8 kB / 3.459 GB, free: 87.45 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.002949/8.409, allocations: 2.911 MB / 3.462 GB, free: 84.39 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001992/8.409, allocations: 75.84 kB / 3.462 GB, free: 84.31 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/8.409, allocations: 0 / 3.462 GB, free: 84.31 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.612e-05/8.409, allocations: 44.86 kB / 3.462 GB, free: 84.27 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/8.41, allocations: 284 kB / 3.462 GB, free: 84 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/8.412, allocations: 0.7966 MB / 3.463 GB, free: 83.13 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/8.412, allocations: 0.9169 MB / 3.464 GB, free: 82.19 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002857/8.413, allocations: 104.6 kB / 3.464 GB, free: 82.09 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/8.413, allocations: 171.4 kB / 3.464 GB, free: 81.92 MB / 0.948 GB Notification: Performance of SimCode: time 8.21e-07/8.413, allocations: 0 / 3.464 GB, free: 81.92 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05883/8.472, allocations: 39.91 MB / 3.503 GB, free: 42.11 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/8.472, allocations: 196.7 kB / 3.503 GB, free: 41.88 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.549/12.02, allocations: 4 kB / 3.503 GB, free: 41.88 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)