Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachine") translateModel(Buildings.Fluid.Movers.Examples.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachine") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4888/0.4888, allocations: 94.74 MB / 102 MB, free: 10.37 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001288/0.001288, allocations: 172.4 kB / 125.3 MB, free: 12 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.428/1.428, allocations: 170.5 MB / 319 MB, free: 9.422 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001694/0.001694, allocations: 107.8 kB / 381 MB, free: 18.14 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.646e-06/8.897e-06, allocations: 0 / 448.6 MB, free: 2.156 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1649, allocations: 61.52 MB / 0.4981 GB, free: 4.547 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.327/1.492, allocations: 432.4 MB / 0.9204 GB, free: 189.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003513/1.493, allocations: 90.14 kB / 0.9205 GB, free: 189.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 6.512/8.005, allocations: 1.693 GB / 2.614 GB, free: 45.95 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0006377/8.006, allocations: 91.77 kB / 2.614 GB, free: 45.95 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 429 * Number of variables: 429 Notification: Performance of Generate backend data structure: time 0.01108/8.017, allocations: 3.132 MB / 2.617 GB, free: 44.68 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/8.017, allocations: 13.41 kB / 2.617 GB, free: 44.68 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002765/8.02, allocations: 379.8 kB / 2.617 GB, free: 44.5 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01148/8.031, allocations: 3.498 MB / 2.621 GB, free: 43.94 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005537/8.032, allocations: 159.5 kB / 2.621 GB, free: 43.87 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001534/8.033, allocations: 137.4 kB / 2.621 GB, free: 43.87 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005588/8.039, allocations: 2.367 MB / 2.623 GB, free: 43.86 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00567/8.045, allocations: 2.152 MB / 2.625 GB, free: 43.63 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.754e-05/8.045, allocations: 1.125 kB / 2.625 GB, free: 43.63 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004866/8.045, allocations: 3.875 kB / 2.625 GB, free: 43.63 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.663e-05/8.045, allocations: 40.81 kB / 2.625 GB, free: 43.63 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02009/8.065, allocations: 9.899 MB / 2.635 GB, free: 39.35 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003711/8.069, allocations: 2.002 MB / 2.637 GB, free: 39.31 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001698/8.071, allocations: 0.9962 MB / 2.638 GB, free: 39.3 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001405/8.072, allocations: 1.98 MB / 2.64 GB, free: 37.05 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002099/8.075, allocations: 1.132 MB / 2.641 GB, free: 36.95 MB / 0.573 GB Notification: Performance of pre-optimization done (n=96): time 5.34e-06/8.075, allocations: 1.531 kB / 2.641 GB, free: 36.95 MB / 0.573 GB Notification: Performance of matching and sorting (n=96): time 0.009001/8.084, allocations: 3.045 MB / 2.644 GB, free: 36.75 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/8.084, allocations: 220.6 kB / 2.644 GB, free: 36.5 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005644/8.089, allocations: 1.795 MB / 2.646 GB, free: 36.25 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001109/8.091, allocations: 51.89 kB / 2.646 GB, free: 36.22 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002053/8.093, allocations: 0.8367 MB / 2.647 GB, free: 35.8 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00069/8.093, allocations: 327.7 kB / 2.647 GB, free: 35.59 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008215/8.094, allocations: 16.53 kB / 2.647 GB, free: 35.59 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002357/8.094, allocations: 388.3 kB / 2.648 GB, free: 35.28 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003624/8.098, allocations: 2.224 MB / 2.65 GB, free: 35.27 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003767/8.102, allocations: 2.623 MB / 2.652 GB, free: 34.85 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00734/8.109, allocations: 2.737 MB / 2.655 GB, free: 34.84 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.459e-05/8.109, allocations: 4.969 kB / 2.655 GB, free: 34.84 MB / 0.573 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.01863/8.128, allocations: 6.708 MB / 2.662 GB, free: 34.61 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009279/8.129, allocations: 2.716 MB / 2.664 GB, free: 31.74 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-05/8.129, allocations: 18.36 kB / 2.664 GB, free: 31.74 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003738/8.133, allocations: 2.412 MB / 2.667 GB, free: 31.71 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/8.134, allocations: 242.1 kB / 2.667 GB, free: 31.71 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006295/8.14, allocations: 4.493 MB / 2.671 GB, free: 30.14 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004882/8.145, allocations: 373.9 kB / 2.672 GB, free: 30.03 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001456/8.147, allocations: 266.2 kB / 2.672 GB, free: 30.03 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/8.147, allocations: 3.938 kB / 2.672 GB, free: 30.03 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02002/8.167, allocations: 6.162 MB / 2.678 GB, free: 29.87 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.803e-05/8.167, allocations: 7.781 kB / 2.678 GB, free: 29.87 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006472/8.173, allocations: 2.752 MB / 2.681 GB, free: 29.84 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/8.175, allocations: 237.3 kB / 2.681 GB, free: 29.84 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005264/8.18, allocations: 4.635 MB / 2.685 GB, free: 27.52 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004254/8.184, allocations: 303.3 kB / 2.686 GB, free: 27.45 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001238/8.185, allocations: 246.4 kB / 2.686 GB, free: 27.45 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,fan1.curve,fan1.haveMinimumDecrease,fan1.haveDPMax,fan1.haveVMax,fan4.curve,fan4.haveMinimumDecrease,fan4.haveDPMax,fan4.haveVMax) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 7 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.001402/8.187, allocations: 157.1 kB / 2.686 GB, free: 27.34 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001163/8.188, allocations: 243.8 kB / 2.686 GB, free: 27.2 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006673/8.195, allocations: 2.165 MB / 2.688 GB, free: 26.99 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.54e-05/8.195, allocations: 10.19 kB / 2.688 GB, free: 26.99 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/8.195, allocations: 10.08 kB / 2.688 GB, free: 26.99 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/8.195, allocations: 3.938 kB / 2.688 GB, free: 26.99 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01084/8.206, allocations: 3.985 MB / 2.692 GB, free: 26.13 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/8.206, allocations: 7.344 kB / 2.692 GB, free: 26.13 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009843/8.207, allocations: 199.3 kB / 2.692 GB, free: 26.13 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001195/8.208, allocations: 0.7646 MB / 2.693 GB, free: 26.11 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/8.208, allocations: 26.45 kB / 2.693 GB, free: 26.11 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003785/8.212, allocations: 3.938 MB / 2.697 GB, free: 23.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/8.212, allocations: 0 / 2.697 GB, free: 23.2 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005321/8.217, allocations: 1.935 MB / 2.699 GB, free: 22.78 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002759/8.22, allocations: 487.4 kB / 2.699 GB, free: 22.54 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001398/8.222, allocations: 8.672 kB / 2.699 GB, free: 22.54 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002612/8.224, allocations: 98.92 kB / 2.7 GB, free: 22.53 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002596/8.224, allocations: 83.7 kB / 2.7 GB, free: 22.53 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001909/8.225, allocations: 58.3 kB / 2.7 GB, free: 22.53 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.004229/8.229, allocations: 1.295 MB / 2.701 GB, free: 22.39 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01129/8.24, allocations: 1.682 MB / 2.703 GB, free: 22.16 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004389/8.245, allocations: 1.601 MB / 2.704 GB, free: 21.67 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02175/8.266, allocations: 15.5 MB / 2.719 GB, free: 21.09 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/8.266, allocations: 3.531 kB / 2.719 GB, free: 21.09 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002158/8.269, allocations: 0.7373 MB / 2.72 GB, free: 20.99 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006088/8.275, allocations: 0.8919 MB / 2.721 GB, free: 20.96 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01287/8.288, allocations: 3.107 MB / 2.724 GB, free: 20.12 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003055/8.291, allocations: 1.972 MB / 2.726 GB, free: 19.38 MB / 0.573 GB Notification: Performance of SimCode: time 1.413e-06/8.291, allocations: 0 / 2.726 GB, free: 19.38 MB / 0.573 GB Notification: Performance of Templates: time 0.1253/8.416, allocations: 71.78 MB / 2.796 GB, free: 13.95 MB / 0.5886 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachine.makefile (rm -f Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachine.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachine.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachine.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachine.sim & ./Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachine.pipe 2>&1)