Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear") translateModel(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8625/0.8625, allocations: 143.4 MB / 159.2 MB, free: 4.828 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 181.8 kB / 191.9 MB, free: 5.715 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 222.9 MB / 447.3 MB, free: 5.844 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000999/0.0009988, allocations: 115.7 kB / 0.517 GB, free: 3.715 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002262/0.002262, allocations: 273.1 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 95.86 kB / 0.6885 GB, free: 3.844 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3427, allocations: 81.3 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.002782/0.3455, allocations: 1.546 MB / 0.7694 GB, free: 26.12 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003477/0.3459, allocations: 107.7 kB / 0.7696 GB, free: 26.02 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.094e-05/0.3459, allocations: 0 / 0.7696 GB, free: 26.02 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 5.315e-05/0.346, allocations: 3.938 kB / 0.7696 GB, free: 26.01 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.493e-05/0.3461, allocations: 15.92 kB / 0.7696 GB, free: 26 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.3463, allocations: 15.98 kB / 0.7696 GB, free: 25.98 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 7.977e-05/0.3464, allocations: 51.78 kB / 0.7696 GB, free: 25.93 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.3465, allocations: 11.98 kB / 0.7696 GB, free: 25.92 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.122e-05/0.3466, allocations: 7.938 kB / 0.7697 GB, free: 25.91 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.66e-05/0.3466, allocations: 27.91 kB / 0.7697 GB, free: 25.88 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.3466, allocations: 0 / 0.7697 GB, free: 25.88 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.077e-05/0.3467, allocations: 19.98 kB / 0.7697 GB, free: 25.86 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 5.097e-05/0.3468, allocations: 7.984 kB / 0.7697 GB, free: 25.86 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.484e-05/0.3468, allocations: 31.81 kB / 0.7697 GB, free: 25.82 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.347, allocations: 54.52 kB / 0.7698 GB, free: 25.77 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.347, allocations: 0 / 0.7698 GB, free: 25.77 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.347, allocations: 0 / 0.7698 GB, free: 25.77 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.347, allocations: 0 / 0.7698 GB, free: 25.77 MB / 458.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.0005045/0.3475, allocations: 375.3 kB / 0.7701 GB, free: 25.36 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.3476, allocations: 8.031 kB / 0.7702 GB, free: 25.35 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.3476, allocations: 12.83 kB / 0.7702 GB, free: 25.34 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.275e-05/0.3477, allocations: 176.2 kB / 0.7703 GB, free: 25.12 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.3477, allocations: 384 / 0.7703 GB, free: 25.12 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.3477, allocations: 8.375 kB / 0.7703 GB, free: 25.12 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.348, allocations: 82.08 kB / 0.7704 GB, free: 25.03 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.348, allocations: 192 / 0.7704 GB, free: 25.03 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.348, allocations: 3.938 kB / 0.7704 GB, free: 25.03 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.348, allocations: 0 / 0.7704 GB, free: 25.03 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002733/0.3483, allocations: 75.92 kB / 0.7705 GB, free: 24.95 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003117/0.3486, allocations: 281 kB / 0.7708 GB, free: 24.63 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.3489, allocations: 74.41 kB / 0.7708 GB, free: 24.55 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.349, allocations: 48.91 kB / 0.7709 GB, free: 24.5 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002528/0.3493, allocations: 112.9 kB / 0.771 GB, free: 24.37 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.5e-05/0.3493, allocations: 30.56 kB / 0.771 GB, free: 24.33 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3493, allocations: 0 / 0.771 GB, free: 24.33 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005294/0.3498, allocations: 149.6 kB / 0.7712 GB, free: 24.18 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.3499, allocations: 51.41 kB / 0.7712 GB, free: 24.11 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.882e-05/0.35, allocations: 128.7 kB / 0.7713 GB, free: 23.98 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.35, allocations: 25.7 kB / 0.7714 GB, free: 23.95 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.531e-05/0.35, allocations: 96.12 kB / 0.7715 GB, free: 23.85 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.35, allocations: 23.67 kB / 0.7715 GB, free: 23.83 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.3501, allocations: 21.72 kB / 0.7715 GB, free: 23.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.998e-05/0.3501, allocations: 314.8 kB / 0.7718 GB, free: 23.48 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.3503, allocations: 35.97 kB / 0.7718 GB, free: 23.45 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.3504, allocations: 39.95 kB / 0.7719 GB, free: 23.41 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/0.3507, allocations: 76.78 kB / 0.7719 GB, free: 23.33 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3507, allocations: 3.938 kB / 0.7719 GB, free: 23.33 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003143/0.351, allocations: 109.6 kB / 0.772 GB, free: 23.21 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.351, allocations: 4 kB / 0.7721 GB, free: 23.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.351, allocations: 4 kB / 0.7721 GB, free: 23.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.3511, allocations: 0 / 0.7721 GB, free: 23.21 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.3512, allocations: 23.92 kB / 0.7721 GB, free: 23.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3512, allocations: 0 / 0.7721 GB, free: 23.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.432e-05/0.3513, allocations: 11.89 kB / 0.7721 GB, free: 23.17 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.3513, allocations: 4 kB / 0.7721 GB, free: 23.17 MB / 458.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.676e-05/0.3514, allocations: 121.8 kB / 0.7722 GB, free: 23.04 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.3514, allocations: 8 kB / 0.7722 GB, free: 23.03 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003401/0.3517, allocations: 113.5 kB / 0.7723 GB, free: 22.91 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3517, allocations: 4 kB / 0.7723 GB, free: 22.91 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3518, allocations: 0 / 0.7723 GB, free: 22.91 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3518, allocations: 3.938 kB / 0.7723 GB, free: 22.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.3519, allocations: 177.6 kB / 0.7725 GB, free: 22.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3519, allocations: 0 / 0.7725 GB, free: 22.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.326e-05/0.352, allocations: 23.97 kB / 0.7725 GB, free: 22.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.352, allocations: 3.938 kB / 0.7725 GB, free: 22.65 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.352, allocations: 0 / 0.7725 GB, free: 22.65 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.352, allocations: 0 / 0.7725 GB, free: 22.65 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.352, allocations: 4 kB / 0.7725 GB, free: 22.65 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000583/0.3526, allocations: 0.8022 MB / 0.7733 GB, free: 21.79 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.613e-05/0.3527, allocations: 85.09 kB / 0.7734 GB, free: 21.69 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.3527, allocations: 3.984 kB / 0.7734 GB, free: 21.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.3528, allocations: 7.984 kB / 0.7734 GB, free: 21.68 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/0.3529, allocations: 7.938 kB / 0.7734 GB, free: 21.67 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.3529, allocations: 4 kB / 0.7734 GB, free: 21.66 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.288e-05/0.3529, allocations: 107.2 kB / 0.7735 GB, free: 21.56 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3529, allocations: 0 / 0.7735 GB, free: 21.56 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000333/0.3533, allocations: 12 kB / 0.7735 GB, free: 21.55 MB / 458.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.0001407/0.3534, allocations: 99.78 kB / 0.7736 GB, free: 21.44 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003297/0.3537, allocations: 79.92 kB / 0.7737 GB, free: 21.36 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3538, allocations: 0 / 0.7737 GB, free: 21.36 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.3539, allocations: 43.89 kB / 0.7737 GB, free: 21.32 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.3542, allocations: 4 kB / 0.7738 GB, free: 21.32 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003461/0.3545, allocations: 278.1 kB / 0.774 GB, free: 21 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.3546, allocations: 0.6848 MB / 0.7747 GB, free: 20.29 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.228e-05/0.3547, allocations: 4 kB / 0.7747 GB, free: 20.29 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.245e-05/0.3547, allocations: 7.438 kB / 0.7747 GB, free: 20.28 MB / 458.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3547, allocations: 0 / 0.7747 GB, free: 20.28 MB / 458.7 MB Notification: Performance of Templates: time 0.002495/0.3572, allocations: 0.6853 MB / 0.7754 GB, free: 19.61 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)