Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.485/1.485, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009924/0.0009924, allocations: 182.9 kB / 326.5 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205 MB / 0.5766 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007224/0.0007225, allocations: 81.53 kB / 0.6803 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.0003369, allocations: 12.19 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2049, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.742/0.9469, allocations: 173.6 MB / 1.066 GB, free: 1.852 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01004/0.957, allocations: 8.821 MB / 1.075 GB, free: 1.703 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007952/0.9578, allocations: 18.22 kB / 1.075 GB, free: 1.703 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007395/0.9586, allocations: 242.4 kB / 1.075 GB, free: 1.699 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0007673/0.9594, allocations: 294.9 kB / 1.075 GB, free: 1.684 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.9605, allocations: 338.6 kB / 1.076 GB, free: 1.672 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00198/0.9625, allocations: 1.614 MB / 1.077 GB, free: 1.668 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000749/0.9632, allocations: 495.8 kB / 1.078 GB, free: 1.59 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005153/0.9684, allocations: 1.905 MB / 1.08 GB, free: 1.527 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007081/0.9691, allocations: 347 kB / 1.08 GB, free: 1.527 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.927e-05/0.9692, allocations: 21.06 kB / 1.08 GB, free: 1.527 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002666/0.9695, allocations: 59.66 kB / 1.08 GB, free: 1.523 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000331/0.9698, allocations: 236.3 kB / 1.08 GB, free: 1.52 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003417/0.9702, allocations: 256.7 kB / 1.081 GB, free: 1.52 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005156/0.9707, allocations: 466.5 kB / 1.081 GB, free: 1.48 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.9707, allocations: 0 / 1.081 GB, free: 1.48 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9707, allocations: 0 / 1.081 GB, free: 1.48 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.9707, allocations: 1.188 kB / 1.081 GB, free: 1.48 MB / 0.698 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.001051/0.9718, allocations: 0.7123 MB / 1.082 GB, free: 16.95 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.9718, allocations: 8.875 kB / 1.082 GB, free: 16.95 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.9719, allocations: 68.78 kB / 1.082 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005551/0.9725, allocations: 418.7 kB / 1.082 GB, free: 16.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/0.9726, allocations: 38.78 kB / 1.082 GB, free: 16.66 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.365e-05/0.9726, allocations: 60.06 kB / 1.082 GB, free: 16.66 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009353/0.9736, allocations: 0.7154 MB / 1.083 GB, free: 16.41 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.9736, allocations: 1.344 kB / 1.083 GB, free: 16.41 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.158e-05/0.9737, allocations: 26.19 kB / 1.083 GB, free: 16.4 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.493e-05/0.9737, allocations: 28.12 kB / 1.083 GB, free: 16.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006236/0.9743, allocations: 390.9 kB / 1.083 GB, free: 16.4 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002512/0.9769, allocations: 3.229 MB / 1.087 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.9771, allocations: 229 kB / 1.087 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.9773, allocations: 133.5 kB / 1.087 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.9773, allocations: 2.438 kB / 1.087 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.9774, allocations: 51.36 kB / 1.087 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.674e-06/0.9774, allocations: 2.906 kB / 1.087 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.000692/0.9781, allocations: 257.6 kB / 1.087 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/0.9782, allocations: 299.7 kB / 1.087 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007337/0.979, allocations: 0.6806 MB / 1.088 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.979, allocations: 32.48 kB / 1.088 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.9792, allocations: 268.1 kB / 1.088 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.9792, allocations: 35.84 kB / 1.088 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/0.9793, allocations: 11.62 kB / 1.088 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.9794, allocations: 376.1 kB / 1.089 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.9796, allocations: 45.62 kB / 1.089 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.9797, allocations: 95.27 kB / 1.089 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.98, allocations: 144.1 kB / 1.089 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.98, allocations: 0 / 1.089 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003234/0.9803, allocations: 198.6 kB / 1.089 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.9803, allocations: 12.98 kB / 1.089 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.9803, allocations: 1.156 kB / 1.089 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.9804, allocations: 1.406 kB / 1.089 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.9806, allocations: 46.86 kB / 1.089 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.9806, allocations: 5.125 kB / 1.089 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002678/0.9809, allocations: 72.64 kB / 1.089 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.9809, allocations: 6.406 kB / 1.089 GB, free: 12.39 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001978/0.9811, allocations: 201.1 kB / 1.09 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002057/0.9813, allocations: 60.5 kB / 1.09 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.733e-05/0.9814, allocations: 62.11 kB / 1.09 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.9814, allocations: 7.188 kB / 1.09 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.9814, allocations: 3.375 kB / 1.09 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.9814, allocations: 7.469 kB / 1.09 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.9827, allocations: 1.304 MB / 1.091 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.9827, allocations: 2.75 kB / 1.091 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.9829, allocations: 55.39 kB / 1.091 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.9829, allocations: 4.375 kB / 1.091 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.9829, allocations: 2.562 kB / 1.091 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.9829, allocations: 5.422 kB / 1.091 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.9829, allocations: 10.97 kB / 1.091 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003627/0.9833, allocations: 351.2 kB / 1.091 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.9835, allocations: 147.8 kB / 1.092 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.311e-05/0.9835, allocations: 3 kB / 1.092 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.9837, allocations: 20.06 kB / 1.092 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.9838, allocations: 22.17 kB / 1.092 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.9838, allocations: 3.375 kB / 1.092 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005465/0.9843, allocations: 0.4947 MB / 1.092 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.1e-07/0.9843, allocations: 0 / 1.092 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003887/0.9847, allocations: 81.94 kB / 1.092 GB, free: 10.77 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003219/0.9851, allocations: 146.5 kB / 1.092 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003225/0.9854, allocations: 110.3 kB / 1.092 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.9854, allocations: 0 / 1.092 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.9856, allocations: 72.42 kB / 1.092 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/0.987, allocations: 278.8 kB / 1.093 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.9885, allocations: 1.064 MB / 1.094 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004723/0.9889, allocations: 0.9039 MB / 1.095 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.356e-05/0.989, allocations: 35.06 kB / 1.095 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of SimCode: time 5.71e-07/0.989, allocations: 0 / 1.095 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of Templates: time 0.01058/0.9996, allocations: 7.717 MB / 1.102 GB, free: 8.715 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)