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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 102.1 kB / 15.98 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 189.2 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7721/0.7721, allocations: 122.9 MB / 413.6 MB, free: 15.97 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 63.91 kB / 0.4906 GB, free: 7.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3774, allocations: 77.93 MB / 0.5667 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.003331/0.3808, allocations: 1.528 MB / 0.5682 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000321/0.3811, allocations: 107.9 kB / 0.5683 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.894e-05/0.3812, allocations: 5.156 kB / 0.5683 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.603e-05/0.3813, allocations: 5.094 kB / 0.5683 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.114e-05/0.3813, allocations: 11.38 kB / 0.5683 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.3816, allocations: 20.61 kB / 0.5684 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.602e-05/0.3817, allocations: 39.19 kB / 0.5684 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.3818, allocations: 12.05 kB / 0.5684 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.17e-05/0.3818, allocations: 17.2 kB / 0.5684 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.876e-05/0.3819, allocations: 24.88 kB / 0.5685 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.3819, allocations: 5.219 kB / 0.5685 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.702e-05/0.382, allocations: 20.22 kB / 0.5685 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.763e-05/0.3821, allocations: 26.05 kB / 0.5685 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.712e-05/0.3821, allocations: 18.83 kB / 0.5685 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.3823, allocations: 53.14 kB / 0.5686 GB, free: 31.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3823, allocations: 2.406 kB / 0.5686 GB, free: 31.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3823, allocations: 0 / 0.5686 GB, free: 31.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3823, allocations: 3.938 kB / 0.5686 GB, free: 31.41 MB / 446.1 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.0004858/0.3828, allocations: 377.3 kB / 0.5689 GB, free: 31.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.3828, allocations: 10.56 kB / 0.5689 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.3829, allocations: 8.75 kB / 0.569 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.383, allocations: 178.3 kB / 0.5691 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.383, allocations: 1.406 kB / 0.5691 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.383, allocations: 3.219 kB / 0.5691 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002638/0.3833, allocations: 78.56 kB / 0.5692 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.3833, allocations: 192 / 0.5692 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.3833, allocations: 6.125 kB / 0.5692 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3834, allocations: 0 / 0.5692 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003037/0.3837, allocations: 86.27 kB / 0.5693 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003616/0.384, allocations: 281 kB / 0.5696 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.3843, allocations: 71.47 kB / 0.5696 GB, free: 30.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.3844, allocations: 46.64 kB / 0.5697 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002483/0.3847, allocations: 108.3 kB / 0.5698 GB, free: 30.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.3847, allocations: 38.64 kB / 0.5698 GB, free: 30.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.3847, allocations: 0 / 0.5698 GB, free: 30.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005453/0.3853, allocations: 142.8 kB / 0.5699 GB, free: 30.24 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.3853, allocations: 54.53 kB / 0.57 GB, free: 30.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.608e-05/0.3854, allocations: 124.3 kB / 0.5701 GB, free: 30.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.3854, allocations: 26.22 kB / 0.5701 GB, free: 30.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.494e-05/0.3855, allocations: 97.17 kB / 0.5702 GB, free: 29.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.3855, allocations: 6.188 kB / 0.5702 GB, free: 29.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.3855, allocations: 18.14 kB / 0.5703 GB, free: 29.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.773e-05/0.3856, allocations: 320.3 kB / 0.5706 GB, free: 29.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.3858, allocations: 36.97 kB / 0.5706 GB, free: 29.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.3859, allocations: 36.12 kB / 0.5706 GB, free: 29.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.3862, allocations: 84.64 kB / 0.5707 GB, free: 29.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.3862, allocations: 6.828 kB / 0.5707 GB, free: 29.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003321/0.3865, allocations: 110 kB / 0.5708 GB, free: 29.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.3866, allocations: 5.375 kB / 0.5708 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3866, allocations: 0 / 0.5708 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.3866, allocations: 1.062 kB / 0.5708 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.3867, allocations: 15.95 kB / 0.5708 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3867, allocations: 5.75 kB / 0.5709 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.186e-05/0.3868, allocations: 21.38 kB / 0.5709 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.3868, allocations: 5 kB / 0.5709 GB, free: 29.52 MB / 446.1 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 6.151e-05/0.3869, allocations: 116.6 kB / 0.571 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.3869, allocations: 7.219 kB / 0.571 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000371/0.3873, allocations: 127.4 kB / 0.5711 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3873, allocations: 0 / 0.5711 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3873, allocations: 1.156 kB / 0.5711 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3874, allocations: 0.7969 kB / 0.5711 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.3875, allocations: 182.4 kB / 0.5713 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3875, allocations: 1.578 kB / 0.5713 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.95e-05/0.3876, allocations: 15.84 kB / 0.5713 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.3876, allocations: 0 / 0.5713 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.3877, allocations: 2.984 kB / 0.5713 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3877, allocations: 0 / 0.5713 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3877, allocations: 1.125 kB / 0.5713 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003869/0.3881, allocations: 211 kB / 0.5715 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.3881, allocations: 84.38 kB / 0.5716 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.3881, allocations: 5.656 kB / 0.5716 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.3882, allocations: 11.41 kB / 0.5716 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.3883, allocations: 8.094 kB / 0.5716 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.3883, allocations: 1.75 kB / 0.5716 GB, free: 28.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.029e-05/0.3884, allocations: 99.84 kB / 0.5717 GB, free: 28.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3884, allocations: 1.031 kB / 0.5717 GB, free: 28.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000235/0.3886, allocations: 14.03 kB / 0.5717 GB, free: 28.8 MB / 446.1 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.0001806/0.3888, allocations: 105.8 kB / 0.5718 GB, free: 28.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003804/0.3892, allocations: 81.36 kB / 0.5719 GB, free: 28.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3892, allocations: 0 / 0.5719 GB, free: 28.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.3894, allocations: 43.38 kB / 0.572 GB, free: 28.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.3896, allocations: 14.14 kB / 0.572 GB, free: 28.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.39, allocations: 158.3 kB / 0.5721 GB, free: 28.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001535/0.3902, allocations: 0.6881 MB / 0.5728 GB, free: 27.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.081e-05/0.3902, allocations: 3.75 kB / 0.5728 GB, free: 27.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.393e-05/0.3903, allocations: 14 kB / 0.5728 GB, free: 27.84 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3903, allocations: 0 / 0.5728 GB, free: 27.84 MB / 446.1 MB Notification: Performance of Templates: time 0.00279/0.3931, allocations: 0.6945 MB / 0.5735 GB, free: 27.79 MB / 446.1 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)