Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002009/0.002009, allocations: 173.6 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.561/1.561, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003208/0.003208, allocations: 233.6 kB / 259.8 MB, free: 12.84 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.168/1.168, allocations: 138.5 MB / 454.7 MB, free: 1.492 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic") translateModel(BuildingSystems.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.5543 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.127e-05/3.321e-05, allocations: 5.547 kB / 0.5543 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.004162/0.004195, allocations: 1.507 MB / 0.5558 GB, free: 15.33 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005153/0.00471, allocations: 104.6 kB / 0.5559 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.82e-05/0.004748, allocations: 4 kB / 0.5559 GB, free: 15.22 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 7.157e-05/0.00482, allocations: 3.938 kB / 0.5559 GB, free: 15.22 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.852e-05/0.004898, allocations: 11.86 kB / 0.5559 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.005141, allocations: 23.97 kB / 0.556 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.00526, allocations: 43.84 kB / 0.556 GB, free: 15.14 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.005361, allocations: 8 kB / 0.556 GB, free: 15.13 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.918e-05/0.00546, allocations: 23.97 kB / 0.556 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.097e-05/0.005541, allocations: 15.92 kB / 0.556 GB, free: 15.09 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.819e-05/0.005569, allocations: 8 kB / 0.556 GB, free: 15.09 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.763e-05/0.005657, allocations: 15.98 kB / 0.5561 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.214e-05/0.005729, allocations: 23.91 kB / 0.5561 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.424e-05/0.005763, allocations: 8 kB / 0.5561 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.005958, allocations: 59.73 kB / 0.5562 GB, free: 14.98 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.005965, allocations: 4 kB / 0.5562 GB, free: 14.98 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.005966, allocations: 0 / 0.5562 GB, free: 14.98 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.005972, allocations: 0 / 0.5562 GB, free: 14.98 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007663/0.006738, allocations: 400 kB / 0.5565 GB, free: 14.55 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.006787, allocations: 12.75 kB / 0.5565 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.348e-05/0.00685, allocations: 12.89 kB / 0.5566 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.007031, allocations: 120.5 kB / 0.5567 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.007046, allocations: 384 / 0.5567 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.007063, allocations: 4.375 kB / 0.5567 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002775/0.007341, allocations: 58.23 kB / 0.5567 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.007352, allocations: 192 / 0.5567 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.007365, allocations: 384 / 0.5567 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.00737, allocations: 384 / 0.5567 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000283/0.007653, allocations: 47.84 kB / 0.5568 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005395/0.008192, allocations: 279.8 kB / 0.557 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.008435, allocations: 51.05 kB / 0.5571 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.008593, allocations: 27.77 kB / 0.5571 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002695/0.008862, allocations: 35.95 kB / 0.5572 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.588e-05/0.008918, allocations: 37.33 kB / 0.5572 GB, free: 13.78 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.008919, allocations: 0 / 0.5572 GB, free: 13.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0006357/0.009555, allocations: 109.5 kB / 0.5573 GB, free: 13.67 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/0.009616, allocations: 51.41 kB / 0.5573 GB, free: 13.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.009851, allocations: 189.7 kB / 0.5575 GB, free: 13.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.009882, allocations: 25.7 kB / 0.5576 GB, free: 13.38 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.01003, allocations: 150.8 kB / 0.5577 GB, free: 13.22 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.838e-05/0.01008, allocations: 19.84 kB / 0.5577 GB, free: 13.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-05/0.01014, allocations: 19.38 kB / 0.5577 GB, free: 13.18 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003748/0.01051, allocations: 0.4884 MB / 0.5582 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.01065, allocations: 27.98 kB / 0.5582 GB, free: 12.65 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.01077, allocations: 23.92 kB / 0.5583 GB, free: 12.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.01102, allocations: 47.66 kB / 0.5583 GB, free: 12.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.01102, allocations: 0 / 0.5583 GB, free: 12.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003318/0.01135, allocations: 77.66 kB / 0.5584 GB, free: 12.49 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.01138, allocations: 7.938 kB / 0.5584 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.01138, allocations: 0 / 0.5584 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.0114, allocations: 4 kB / 0.5584 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.01152, allocations: 12 kB / 0.5584 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.01153, allocations: 4 kB / 0.5584 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.697e-05/0.01161, allocations: 11.94 kB / 0.5584 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.649e-06/0.01162, allocations: 0 / 0.5584 GB, free: 12.45 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.000158/0.01178, allocations: 160.5 kB / 0.5586 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.307e-05/0.01182, allocations: 4 kB / 0.5586 GB, free: 12.28 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003793/0.0122, allocations: 89.58 kB / 0.5587 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.0122, allocations: 4 kB / 0.5587 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.01221, allocations: 0 / 0.5587 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.01221, allocations: 0 / 0.5587 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.01247, allocations: 132.6 kB / 0.5588 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01247, allocations: 0 / 0.5588 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.25e-05/0.01257, allocations: 11.98 kB / 0.5588 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.01257, allocations: 4 kB / 0.5588 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.01258, allocations: 0 / 0.5588 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.01259, allocations: 3.938 kB / 0.5588 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.01259, allocations: 0 / 0.5588 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004575/0.01305, allocations: 231.8 kB / 0.559 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.265e-05/0.01307, allocations: 8.375 kB / 0.559 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.01309, allocations: 0 / 0.559 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.01321, allocations: 11.92 kB / 0.5591 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/0.01327, allocations: 8 kB / 0.5591 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-06/0.01328, allocations: 0 / 0.5591 GB, free: 11.73 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001311/0.01341, allocations: 139.2 kB / 0.5592 GB, free: 11.59 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.01341, allocations: 3.938 kB / 0.5592 GB, free: 11.59 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000386/0.01379, allocations: 12 kB / 0.5592 GB, free: 11.57 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0003799/0.01417, allocations: 103.2 kB / 0.5593 GB, free: 11.46 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003411/0.01451, allocations: 59.58 kB / 0.5594 GB, free: 11.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01452, allocations: 0 / 0.5594 GB, free: 11.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.01467, allocations: 31.67 kB / 0.5594 GB, free: 11.37 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.01506, allocations: 7.984 kB / 0.5594 GB, free: 11.36 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004974/0.01556, allocations: 153.1 kB / 0.5595 GB, free: 11.18 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.01567, allocations: 71.58 kB / 0.5596 GB, free: 11.09 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.085e-05/0.01571, allocations: 7.984 kB / 0.5596 GB, free: 11.09 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.355e-05/0.01576, allocations: 8.5 kB / 0.5596 GB, free: 11.08 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01576, allocations: 4 kB / 0.5596 GB, free: 11.07 MB / 490.7 MB Notification: Performance of Templates: time 0.005344/0.0211, allocations: 0.8706 MB / 0.5605 GB, free: 10.21 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.720215062028728]