Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001617/0.001617, allocations: 102.1 kB / 16.27 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.001741/0.001741, allocations: 187.6 kB / 17.2 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.886/1.886, allocations: 292.3 MB / 0.5495 GB, free: 17.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 63.91 kB / 0.6721 GB, free: 6.617 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2588, allocations: 114.6 MB / 0.784 GB, free: 3.945 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003493/0.2623, allocations: 1.483 MB / 0.7855 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000388/0.2627, allocations: 116.4 kB / 0.7856 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.211e-05/0.2628, allocations: 4 kB / 0.7856 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.278e-05/0.2629, allocations: 3.938 kB / 0.7856 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.64e-05/0.263, allocations: 3.938 kB / 0.7856 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.2632, allocations: 27.91 kB / 0.7856 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.2634, allocations: 43.89 kB / 0.7857 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.2635, allocations: 8 kB / 0.7857 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.173e-05/0.2636, allocations: 19.92 kB / 0.7857 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.254e-05/0.2636, allocations: 15.92 kB / 0.7857 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.2636, allocations: 8 kB / 0.7857 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.324e-05/0.2637, allocations: 23.98 kB / 0.7857 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.56e-05/0.2638, allocations: 15.92 kB / 0.7857 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.367e-05/0.2639, allocations: 23.86 kB / 0.7858 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.264, allocations: 55.8 kB / 0.7858 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.264, allocations: 0 / 0.7858 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.703e-06/0.264, allocations: 0 / 0.7858 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.264, allocations: 0 / 0.7858 GB, free: 2.082 MB / 0.6544 GB 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.00063/0.2647, allocations: 391.4 kB / 0.7862 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.2647, allocations: 12.03 kB / 0.7862 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.858e-05/0.2648, allocations: 4.844 kB / 0.7862 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.2649, allocations: 172.3 kB / 0.7864 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.265, allocations: 4.375 kB / 0.7864 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.265, allocations: 384 / 0.7864 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.2653, allocations: 78.2 kB / 0.7865 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.2653, allocations: 192 / 0.7865 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.2653, allocations: 3.938 kB / 0.7865 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.2653, allocations: 4 kB / 0.7865 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003068/0.2657, allocations: 75.92 kB / 0.7865 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004226/0.2661, allocations: 292.7 kB / 0.7868 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.2663, allocations: 70.47 kB / 0.7869 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.2665, allocations: 44.92 kB / 0.7869 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000297/0.2668, allocations: 109.1 kB / 0.787 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.2669, allocations: 38.56 kB / 0.7871 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.412e-06/0.2669, allocations: 0 / 0.7871 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005733/0.2675, allocations: 145.5 kB / 0.7872 GB, free: 488 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.2675, allocations: 55.41 kB / 0.7873 GB, free: 420 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.2676, allocations: 125.8 kB / 0.7874 GB, free: 284 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.2677, allocations: 25.7 kB / 0.7874 GB, free: 252 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.904e-05/0.2677, allocations: 100 kB / 0.7875 GB, free: 148 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.2678, allocations: 7.891 kB / 0.7875 GB, free: 140 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.2678, allocations: 13.72 kB / 0.7875 GB, free: 120 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.4484/0.7162, allocations: 318.8 kB / 0.7878 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/0.7165, allocations: 33.7 kB / 0.7879 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.7167, allocations: 36.42 kB / 0.7879 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.717, allocations: 80.06 kB / 0.788 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.717, allocations: 3.75 kB / 0.788 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003446/0.7173, allocations: 112.3 kB / 0.7881 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.7173, allocations: 12.92 kB / 0.7881 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.7174, allocations: 0 / 0.7881 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.7174, allocations: 0.6875 kB / 0.7881 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.7175, allocations: 16.58 kB / 0.7881 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.7175, allocations: 2.781 kB / 0.7881 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.757e-05/0.7176, allocations: 15.61 kB / 0.7881 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.7176, allocations: 0 / 0.7881 GB, free: 48.45 MB / 0.6544 GB 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.878e-05/0.7177, allocations: 120.4 kB / 0.7882 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.7177, allocations: 6.875 kB / 0.7882 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003534/0.7181, allocations: 120.2 kB / 0.7884 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.7181, allocations: 2.062 kB / 0.7884 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.7181, allocations: 7.312 kB / 0.7884 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.7181, allocations: 0 / 0.7884 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.7183, allocations: 179.7 kB / 0.7885 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.7183, allocations: 0 / 0.7885 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.487e-05/0.7184, allocations: 14.17 kB / 0.7886 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.7184, allocations: 0 / 0.7886 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.7184, allocations: 0 / 0.7886 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.7184, allocations: 3.766 kB / 0.7886 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.7184, allocations: 4.438 kB / 0.7886 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.7187, allocations: 208.9 kB / 0.7888 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.7188, allocations: 79.36 kB / 0.7888 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.7188, allocations: 2.75 kB / 0.7888 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.7189, allocations: 16.2 kB / 0.7889 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.719, allocations: 11.47 kB / 0.7889 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.719, allocations: 3.75 kB / 0.7889 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.541e-05/0.719, allocations: 96.28 kB / 0.789 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.719, allocations: 0 / 0.789 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000226/0.7193, allocations: 13.16 kB / 0.789 GB, free: 47.81 MB / 0.6544 GB 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.0001615/0.7194, allocations: 103.8 kB / 0.7891 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003466/0.7198, allocations: 82.03 kB / 0.7891 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.7198, allocations: 1.562 kB / 0.7892 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.7199, allocations: 42.69 kB / 0.7892 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.7202, allocations: 13.36 kB / 0.7892 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003514/0.7206, allocations: 164.8 kB / 0.7894 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.7207, allocations: 0.6888 MB / 0.79 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.7208, allocations: 14.8 kB / 0.79 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of SimCode: time 3.91e-07/0.7208, allocations: 0 / 0.79 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of Templates: time 0.002214/0.723, allocations: 0.887 MB / 0.7909 GB, free: 46.88 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)