Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7479/0.7479, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 187.8 kB / 169.7 MB, free: 1.758 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.1 MB / 404.5 MB, free: 1.652 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00091/0.0009097, allocations: 94.02 kB / 481.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.532e-05/3.541e-05, allocations: 7.984 kB / 0.5533 GB, free: 54.77 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1522, allocations: 76.76 MB / 0.6282 GB, free: 9.953 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.245/5.397, allocations: 2.14 GB / 2.768 GB, free: 141 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003354/5.397, allocations: 85.33 kB / 2.768 GB, free: 141 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.567/6.964, allocations: 411.5 MB / 3.17 GB, free: 129.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.224e-06/6.964, allocations: 0.9375 kB / 3.17 GB, free: 129.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.035e-05/6.964, allocations: 25.06 kB / 3.17 GB, free: 129.3 MB / 0.6511 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.001662/6.966, allocations: 0.85 MB / 3.171 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/6.966, allocations: 10.56 kB / 3.171 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001078/6.966, allocations: 93.44 kB / 3.171 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/6.966, allocations: 72.56 kB / 3.171 GB, free: 128.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006713/6.967, allocations: 423.5 kB / 3.172 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.76e-05/6.967, allocations: 47.02 kB / 3.172 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.02e-05/6.967, allocations: 53.94 kB / 3.172 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/6.968, allocations: 0.6134 MB / 3.172 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/6.968, allocations: 1.25 kB / 3.172 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.711e-05/6.968, allocations: 30.61 kB / 3.172 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.944e-05/6.968, allocations: 30.08 kB / 3.173 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005667/6.969, allocations: 318.2 kB / 3.173 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002374/6.971, allocations: 2.567 MB / 3.175 GB, free: 126.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/6.971, allocations: 134.5 kB / 3.175 GB, free: 126.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/6.972, allocations: 85.2 kB / 3.176 GB, free: 126.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/6.972, allocations: 1.188 kB / 3.176 GB, free: 126.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/6.972, allocations: 44.42 kB / 3.176 GB, free: 126.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.854e-06/6.972, allocations: 0 / 3.176 GB, free: 126.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0003876/6.972, allocations: 158.9 kB / 3.176 GB, free: 126.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/6.972, allocations: 160.5 kB / 3.176 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007296/6.973, allocations: 0.6026 MB / 3.176 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/6.973, allocations: 28.58 kB / 3.176 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/6.973, allocations: 265.3 kB / 3.177 GB, free: 126 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/6.973, allocations: 30.12 kB / 3.177 GB, free: 126 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/6.973, allocations: 1.531 kB / 3.177 GB, free: 126 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001179/6.973, allocations: 370.4 kB / 3.177 GB, free: 125.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.399e-05/6.973, allocations: 24.41 kB / 3.177 GB, free: 125.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.942e-05/6.973, allocations: 89.16 kB / 3.177 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.929e-05/6.973, allocations: 42.41 kB / 3.177 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/6.973, allocations: 3.844 kB / 3.177 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002198/6.974, allocations: 159.7 kB / 3.177 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/6.974, allocations: 6.766 kB / 3.177 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/6.974, allocations: 1.281 kB / 3.177 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/6.974, allocations: 1.312 kB / 3.177 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/6.974, allocations: 25.95 kB / 3.177 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/6.974, allocations: 5.438 kB / 3.177 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/6.974, allocations: 72.55 kB / 3.178 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/6.974, allocations: 14.89 kB / 3.178 GB, free: 125.6 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 5.862e-05/6.974, allocations: 110.5 kB / 3.178 GB, free: 125.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/6.974, allocations: 58.67 kB / 3.178 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.337e-05/6.974, allocations: 57.92 kB / 3.178 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/6.974, allocations: 3.594 kB / 3.178 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/6.975, allocations: 1.375 kB / 3.178 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/6.975, allocations: 1.812 kB / 3.178 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/6.976, allocations: 0.8939 MB / 3.179 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/6.976, allocations: 1.375 kB / 3.179 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.662e-05/6.976, allocations: 26.66 kB / 3.179 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.046e-06/6.976, allocations: 10.03 kB / 3.179 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/6.976, allocations: 5 kB / 3.179 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/6.976, allocations: 3.453 kB / 3.179 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/6.976, allocations: 6.5 kB / 3.179 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/6.976, allocations: 391.2 kB / 3.179 GB, free: 124.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/6.976, allocations: 149.7 kB / 3.179 GB, free: 124.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.28e-05/6.976, allocations: 4.828 kB / 3.179 GB, free: 124.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/6.976, allocations: 18.47 kB / 3.179 GB, free: 124.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/6.977, allocations: 16.53 kB / 3.179 GB, free: 124.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/6.977, allocations: 9.453 kB / 3.179 GB, free: 124.3 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005267/6.977, allocations: 494 kB / 3.18 GB, free: 124.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.473e-06/6.977, allocations: 0 / 3.18 GB, free: 124.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009625/6.978, allocations: 219.9 kB / 3.18 GB, free: 124.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.002814/6.981, allocations: 2.858 MB / 3.183 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001964/6.981, allocations: 72.88 kB / 3.183 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/6.981, allocations: 0 / 3.183 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.757e-05/6.981, allocations: 43.58 kB / 3.183 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/6.983, allocations: 269.1 kB / 3.183 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/6.984, allocations: 0.7813 MB / 3.184 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/6.985, allocations: 0.9125 MB / 3.185 GB, free: 121.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002964/6.985, allocations: 100.7 kB / 3.185 GB, free: 121.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001835/6.985, allocations: 178.2 kB / 3.185 GB, free: 121.5 MB / 0.6511 GB Notification: Performance of SimCode: time 1.923e-06/6.985, allocations: 0 / 3.185 GB, free: 121.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07959/7.065, allocations: 40.13 MB / 3.224 GB, free: 120.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001708/7.065, allocations: 204.2 kB / 3.224 GB, free: 120.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.417/10.48, allocations: 0 / 3.224 GB, free: 120.5 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_PropertySource_h.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)