Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear") translateModel(IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 186.6 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4597/0.4597, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 349.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 103.6 kB / 420 MB, free: 8.5 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 59.91 kB / 0.4891 GB, free: 7.707 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3818, allocations: 70.06 MB / 0.5575 GB, free: 44.76 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002454/0.3843, allocations: 1.538 MB / 0.559 GB, free: 43.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002859/0.3846, allocations: 108.1 kB / 0.5591 GB, free: 43.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.704e-05/0.3846, allocations: 1.094 kB / 0.5591 GB, free: 43.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.414e-05/0.3847, allocations: 3.938 kB / 0.5591 GB, free: 43.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.569e-05/0.3847, allocations: 6.469 kB / 0.5591 GB, free: 43.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001508/0.3849, allocations: 19.91 kB / 0.5591 GB, free: 43.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.019e-05/0.385, allocations: 39.58 kB / 0.5592 GB, free: 43.44 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.69e-05/0.3851, allocations: 9.125 kB / 0.5592 GB, free: 43.44 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.894e-05/0.3851, allocations: 21.44 kB / 0.5592 GB, free: 43.42 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.612e-05/0.3852, allocations: 22.59 kB / 0.5592 GB, free: 43.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.3852, allocations: 5.594 kB / 0.5592 GB, free: 43.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.382e-05/0.3853, allocations: 26.83 kB / 0.5592 GB, free: 43.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.933e-05/0.3853, allocations: 11.3 kB / 0.5593 GB, free: 43.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.778e-05/0.3854, allocations: 16.44 kB / 0.5593 GB, free: 43.37 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.3855, allocations: 64.97 kB / 0.5593 GB, free: 43.31 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3855, allocations: 0 / 0.5593 GB, free: 43.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.3855, allocations: 0 / 0.5593 GB, free: 43.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.3855, allocations: 0 / 0.5593 GB, free: 43.31 MB / 410.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.0004324/0.3859, allocations: 377.6 kB / 0.5597 GB, free: 42.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.386, allocations: 8.031 kB / 0.5597 GB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.236e-05/0.386, allocations: 4.938 kB / 0.5597 GB, free: 42.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.516e-05/0.3861, allocations: 188.1 kB / 0.5599 GB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.3861, allocations: 384 / 0.5599 GB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.3861, allocations: 4.375 kB / 0.5599 GB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.3864, allocations: 70.22 kB / 0.56 GB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.3864, allocations: 4.188 kB / 0.56 GB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.3864, allocations: 3.938 kB / 0.56 GB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.3864, allocations: 3.984 kB / 0.56 GB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002752/0.3867, allocations: 75.86 kB / 0.56 GB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.387, allocations: 277 kB / 0.5603 GB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.3872, allocations: 74.47 kB / 0.5604 GB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.3873, allocations: 44.91 kB / 0.5604 GB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002039/0.3876, allocations: 113.1 kB / 0.5605 GB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.158e-05/0.3876, allocations: 34.5 kB / 0.5606 GB, free: 41.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3876, allocations: 0 / 0.5606 GB, free: 41.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.000505/0.3881, allocations: 149.5 kB / 0.5607 GB, free: 41.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.951e-05/0.3881, allocations: 55.41 kB / 0.5608 GB, free: 41.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.874e-05/0.3882, allocations: 135.3 kB / 0.5609 GB, free: 41.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.256e-06/0.3882, allocations: 25.7 kB / 0.5609 GB, free: 41.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.026e-05/0.3882, allocations: 88.12 kB / 0.561 GB, free: 41.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.3883, allocations: 11.91 kB / 0.561 GB, free: 41.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/0.3883, allocations: 13.72 kB / 0.561 GB, free: 41.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.186e-05/0.3883, allocations: 322.8 kB / 0.5613 GB, free: 41.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.3885, allocations: 39.95 kB / 0.5614 GB, free: 41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.3886, allocations: 39.95 kB / 0.5614 GB, free: 40.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/0.3889, allocations: 76.72 kB / 0.5615 GB, free: 40.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3889, allocations: 3.938 kB / 0.5615 GB, free: 40.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003174/0.3892, allocations: 113.5 kB / 0.5616 GB, free: 40.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.3892, allocations: 8 kB / 0.5616 GB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3892, allocations: 0 / 0.5616 GB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3893, allocations: 3.984 kB / 0.5616 GB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.3894, allocations: 15.98 kB / 0.5616 GB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.3894, allocations: 0 / 0.5616 GB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.165e-05/0.3895, allocations: 15.92 kB / 0.5616 GB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.3895, allocations: 4 kB / 0.5616 GB, free: 40.71 MB / 410.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 5.213e-05/0.3895, allocations: 125.7 kB / 0.5618 GB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.3896, allocations: 3.906 kB / 0.5618 GB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003256/0.3899, allocations: 113.5 kB / 0.5619 GB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3899, allocations: 4 kB / 0.5619 GB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3899, allocations: 8 kB / 0.5619 GB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3899, allocations: 0 / 0.5619 GB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.39, allocations: 185.6 kB / 0.5621 GB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3901, allocations: 0 / 0.5621 GB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.636e-05/0.3901, allocations: 15.98 kB / 0.5621 GB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3902, allocations: 3.984 kB / 0.5621 GB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.3902, allocations: 0 / 0.5621 GB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3902, allocations: 0 / 0.5621 GB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3902, allocations: 4 kB / 0.5621 GB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005369/0.3907, allocations: 0.7941 MB / 0.5629 GB, free: 39.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.03e-05/0.3907, allocations: 85.02 kB / 0.5629 GB, free: 39.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.3908, allocations: 4 kB / 0.5629 GB, free: 39.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.3909, allocations: 11.97 kB / 0.5629 GB, free: 39.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.3909, allocations: 15.88 kB / 0.563 GB, free: 39.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.3909, allocations: 3.938 kB / 0.563 GB, free: 39.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.482e-05/0.391, allocations: 96.14 kB / 0.5631 GB, free: 39.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.391, allocations: 0 / 0.5631 GB, free: 39.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003117/0.3913, allocations: 15.98 kB / 0.5631 GB, free: 39.09 MB / 410.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.0001053/0.3914, allocations: 103.7 kB / 0.5632 GB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000312/0.3917, allocations: 75.92 kB / 0.5632 GB, free: 38.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3917, allocations: 0 / 0.5632 GB, free: 38.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.3919, allocations: 40.05 kB / 0.5633 GB, free: 38.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.3921, allocations: 21.84 kB / 0.5633 GB, free: 38.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002951/0.3924, allocations: 268.3 kB / 0.5636 GB, free: 38.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.3925, allocations: 0.6887 MB / 0.5642 GB, free: 37.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.757e-05/0.3926, allocations: 4 kB / 0.5642 GB, free: 37.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.989e-05/0.3926, allocations: 11.44 kB / 0.5642 GB, free: 37.82 MB / 410.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3926, allocations: 0 / 0.5642 GB, free: 37.82 MB / 410.7 MB Notification: Performance of Templates: time 0.002222/0.3948, allocations: 0.681 MB / 0.5649 GB, free: 37.15 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)