Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.68/2.68, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.001643/0.001643, allocations: 181.3 kB / 370.8 MB, free: 10.9 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.233/2.233, allocations: 205.4 MB / 0.6295 GB, free: 10.65 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001199/0.001199, allocations: 85.38 kB / 0.7428 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005993/0.0005993, allocations: 20.97 kB / 0.8657 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.23, allocations: 115.3 MB / 0.9783 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.718/6.948, allocations: 2.065 GB / 3.043 GB, free: 213 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/6.948, allocations: 88.45 kB / 3.043 GB, free: 213 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.102/9.05, allocations: 412.1 MB / 3.446 GB, free: 184.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.615e-06/9.05, allocations: 0 / 3.446 GB, free: 184.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.342e-05/9.05, allocations: 19.98 kB / 3.446 GB, free: 184.3 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.002218/9.052, allocations: 0.9037 MB / 3.447 GB, free: 183.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/9.053, allocations: 12.03 kB / 3.447 GB, free: 183.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001601/9.053, allocations: 94.52 kB / 3.447 GB, free: 183.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/9.053, allocations: 67.25 kB / 3.447 GB, free: 183.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008457/9.054, allocations: 419.7 kB / 3.447 GB, free: 182.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.328e-05/9.054, allocations: 49.25 kB / 3.447 GB, free: 182.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.723e-05/9.054, allocations: 52 kB / 3.447 GB, free: 182.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/9.055, allocations: 0.6949 MB / 3.448 GB, free: 181.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.979e-05/9.055, allocations: 0 / 3.448 GB, free: 181.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.367e-05/9.055, allocations: 24 kB / 3.448 GB, free: 181.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.805e-05/9.056, allocations: 31.92 kB / 3.448 GB, free: 181.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/9.057, allocations: 364.7 kB / 3.448 GB, free: 181.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003479/9.06, allocations: 3.22 MB / 3.452 GB, free: 178.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000312/9.06, allocations: 218.2 kB / 3.452 GB, free: 177.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/9.061, allocations: 15.94 kB / 3.452 GB, free: 177.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/9.061, allocations: 42.5 kB / 3.452 GB, free: 177.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 3.636e-06/9.061, allocations: 0 / 3.452 GB, free: 177.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.001025/9.062, allocations: 273.7 kB / 3.452 GB, free: 177.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.239e-05/9.062, allocations: 282.7 kB / 3.452 GB, free: 177.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/9.063, allocations: 0.6127 MB / 3.453 GB, free: 176.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.824e-05/9.063, allocations: 29.7 kB / 3.453 GB, free: 176.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002224/9.063, allocations: 272.2 kB / 3.453 GB, free: 176.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.342e-05/9.063, allocations: 27.56 kB / 3.453 GB, free: 176.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-06/9.063, allocations: 4.031 kB / 3.453 GB, free: 176.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001097/9.063, allocations: 370.8 kB / 3.454 GB, free: 175.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/9.063, allocations: 43.91 kB / 3.454 GB, free: 175.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/9.064, allocations: 124.5 kB / 3.454 GB, free: 175.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/9.064, allocations: 51.91 kB / 3.454 GB, free: 175.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/9.064, allocations: 0 / 3.454 GB, free: 175.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005819/9.065, allocations: 204.9 kB / 3.454 GB, free: 175.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/9.065, allocations: 7.953 kB / 3.454 GB, free: 175.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/9.065, allocations: 3.984 kB / 3.454 GB, free: 175.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/9.065, allocations: 4 kB / 3.454 GB, free: 175.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/9.065, allocations: 23.98 kB / 3.454 GB, free: 175.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/9.065, allocations: 0 / 3.454 GB, free: 175.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004544/9.065, allocations: 71.39 kB / 3.454 GB, free: 175.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.372e-05/9.065, allocations: 11.98 kB / 3.454 GB, free: 175.2 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 () * 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.0003494/9.066, allocations: 201.7 kB / 3.454 GB, free: 175 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002658/9.066, allocations: 63.25 kB / 3.454 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/9.066, allocations: 64.27 kB / 3.454 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/9.066, allocations: 4.219 kB / 3.454 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/9.066, allocations: 4 kB / 3.454 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/9.066, allocations: 7.938 kB / 3.454 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/9.068, allocations: 1.297 MB / 3.456 GB, free: 173.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/9.068, allocations: 0 / 3.456 GB, free: 173.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/9.068, allocations: 31.92 kB / 3.456 GB, free: 173.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/9.068, allocations: 0 / 3.456 GB, free: 173.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/9.068, allocations: 4 kB / 3.456 GB, free: 173.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/9.068, allocations: 4 kB / 3.456 GB, free: 173.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/9.068, allocations: 7.938 kB / 3.456 GB, free: 173.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005716/9.069, allocations: 456.3 kB / 3.456 GB, free: 172.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002283/9.069, allocations: 148.3 kB / 3.456 GB, free: 172.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.502e-05/9.069, allocations: 7.953 kB / 3.456 GB, free: 172.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003594/9.07, allocations: 27.97 kB / 3.456 GB, free: 172.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.014e-05/9.07, allocations: 7.984 kB / 3.456 GB, free: 172.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/9.07, allocations: 8 kB / 3.456 GB, free: 172.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007778/9.07, allocations: 0.4915 MB / 3.457 GB, free: 172.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.31e-07/9.07, allocations: 0 / 3.457 GB, free: 172.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001154/9.072, allocations: 212 kB / 3.457 GB, free: 172 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 () * 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.003234/9.075, allocations: 2.954 MB / 3.46 GB, free: 168.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005878/9.075, allocations: 115.8 kB / 3.46 GB, free: 168.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/9.076, allocations: 0 / 3.46 GB, free: 168.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002399/9.076, allocations: 68.77 kB / 3.46 GB, free: 168.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002149/9.078, allocations: 272.8 kB / 3.46 GB, free: 168.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005793/9.084, allocations: 3.777 MB / 3.464 GB, free: 164.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/9.084, allocations: 0.913 MB / 3.465 GB, free: 163.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000458/9.085, allocations: 104.6 kB / 3.465 GB, free: 163.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002418/9.085, allocations: 171.4 kB / 3.465 GB, free: 163.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.463e-06/9.085, allocations: 0 / 3.465 GB, free: 163.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08821/9.173, allocations: 36.19 MB / 3.501 GB, free: 127.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002817/9.174, allocations: 218 kB / 3.501 GB, free: 127.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.085/13.26, allocations: 0 / 3.501 GB, free: 127.1 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_8.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)