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.9055/0.9055, allocations: 143.4 MB / 158.3 MB, free: 5.734 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.00117/0.00117, allocations: 185 kB / 191.5 MB, free: 5.746 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.437/1.437, allocations: 223.2 MB / 447.7 MB, free: 4.801 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.0009138/0.0009137, allocations: 84.33 kB / 0.5188 GB, free: 1.168 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001904/0.001903, allocations: 267.9 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005402/0.0005404, allocations: 16.69 kB / 0.6929 GB, free: 59.69 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1991, allocations: 82.8 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1671/0.3662, allocations: 108.7 MB / 0.8798 GB, free: 1.055 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/0.3666, allocations: 85.97 kB / 0.8799 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3518/0.7183, allocations: 1.086 MB / 0.881 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.085e-06/0.7184, allocations: 0 / 0.881 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.7184, allocations: 0 / 0.881 GB, free: 109.2 MB / 0.5417 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.0005291/0.7189, allocations: 377.4 kB / 0.8813 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.719, allocations: 9.562 kB / 0.8813 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.719, allocations: 6.938 kB / 0.8813 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.021e-05/0.7191, allocations: 173.7 kB / 0.8815 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.7192, allocations: 10.89 kB / 0.8815 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.7192, allocations: 1.75 kB / 0.8815 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/0.7195, allocations: 88.3 kB / 0.8816 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.7195, allocations: 2.688 kB / 0.8816 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.7195, allocations: 1 kB / 0.8816 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.7195, allocations: 0.8438 kB / 0.8816 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000307/0.7198, allocations: 100.1 kB / 0.8817 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004777/0.7203, allocations: 324.8 kB / 0.882 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.7205, allocations: 80.81 kB / 0.8821 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001567/0.7207, allocations: 105.4 kB / 0.8822 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.7207, allocations: 43.67 kB / 0.8822 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.7207, allocations: 0 / 0.8822 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0004858/0.7212, allocations: 180.8 kB / 0.8824 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.539e-05/0.7212, allocations: 55.41 kB / 0.8825 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.903e-05/0.7213, allocations: 118.6 kB / 0.8826 GB, free: 108 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.7213, allocations: 25.7 kB / 0.8826 GB, free: 108 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.076e-05/0.7213, allocations: 93.89 kB / 0.8827 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.455e-05/0.7214, allocations: 15.78 kB / 0.8827 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.7214, allocations: 2.516 kB / 0.8827 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.687e-05/0.7214, allocations: 317 kB / 0.883 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.7216, allocations: 51.05 kB / 0.8831 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.7217, allocations: 51.77 kB / 0.8831 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.7219, allocations: 54.7 kB / 0.8832 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.7219, allocations: 0 / 0.8832 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003076/0.7222, allocations: 133.8 kB / 0.8833 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.7222, allocations: 5.188 kB / 0.8833 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-06/0.7222, allocations: 5.891 kB / 0.8833 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.185e-06/0.7222, allocations: 0 / 0.8833 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.7223, allocations: 28.44 kB / 0.8833 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.7223, allocations: 0 / 0.8833 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.644e-05/0.7224, allocations: 17.36 kB / 0.8833 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.7225, allocations: 2.875 kB / 0.8833 GB, free: 107.5 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.602e-05/0.7225, allocations: 116.3 kB / 0.8835 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.7225, allocations: 10.66 kB / 0.8835 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003598/0.7229, allocations: 149.9 kB / 0.8836 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.7229, allocations: 0 / 0.8836 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.7229, allocations: 0 / 0.8836 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.7229, allocations: 0 / 0.8836 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.7231, allocations: 180 kB / 0.8838 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.7231, allocations: 3.953 kB / 0.8838 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.886e-05/0.7232, allocations: 23.31 kB / 0.8838 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.7232, allocations: 12.38 kB / 0.8838 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.7232, allocations: 3.938 kB / 0.8838 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.7232, allocations: 2.656 kB / 0.8838 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.7232, allocations: 0.625 kB / 0.8838 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.7235, allocations: 230.1 kB / 0.884 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.062e-05/0.7236, allocations: 90.02 kB / 0.8841 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.7236, allocations: 0.7188 kB / 0.8841 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.7237, allocations: 20.08 kB / 0.8841 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.623e-05/0.7237, allocations: 5.906 kB / 0.8842 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.7237, allocations: 2.5 kB / 0.8842 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.775e-05/0.7238, allocations: 98.73 kB / 0.8843 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7238, allocations: 0 / 0.8843 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002079/0.724, allocations: 18.7 kB / 0.8843 GB, free: 106.8 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001205/0.7241, allocations: 98.44 kB / 0.8844 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003172/0.7244, allocations: 103.5 kB / 0.8845 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.7244, allocations: 4 kB / 0.8845 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.7246, allocations: 54.67 kB / 0.8845 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.7247, allocations: 0.6875 kB / 0.8845 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002339/0.725, allocations: 165.4 kB / 0.8847 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.7251, allocations: 0.6893 MB / 0.8853 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.806e-05/0.7251, allocations: 2.375 kB / 0.8854 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.155e-05/0.7252, allocations: 10.41 kB / 0.8854 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of SimCode: time 3.01e-07/0.7252, allocations: 0 / 0.8854 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of Templates: time 0.002171/0.7274, allocations: 0.6551 MB / 0.886 GB, free: 105.8 MB / 0.5417 GB 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)