Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6914/0.6914, allocations: 117.9 MB / 133.9 MB, free: 9.215 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 187.6 kB / 161.7 MB, free: 13.99 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.4 MB / 394.8 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007446/0.0007446, allocations: 92.52 kB / 470.1 MB, free: 29.06 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003539/0.000354, allocations: 16 kB / 0.5423 GB, free: 9.773 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1652, allocations: 74.53 MB / 0.6151 GB, free: 15.18 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.454/0.6192, allocations: 101.5 MB / 0.7142 GB, free: 31.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.6195, allocations: 78.8 kB / 0.7143 GB, free: 31.57 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.002896/0.6224, allocations: 1.089 MB / 0.7154 GB, free: 30.81 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.284e-06/0.6224, allocations: 0 / 0.7154 GB, free: 30.81 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.6225, allocations: 0 / 0.7154 GB, free: 30.81 MB / 0.4948 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.0003748/0.6228, allocations: 394.1 kB / 0.7157 GB, free: 30.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.6229, allocations: 8.031 kB / 0.7158 GB, free: 30.39 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.212e-05/0.6229, allocations: 9.531 kB / 0.7158 GB, free: 30.38 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.623, allocations: 175.8 kB / 0.7159 GB, free: 30.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.6231, allocations: 384 / 0.7159 GB, free: 30.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.6231, allocations: 4.375 kB / 0.7159 GB, free: 30.17 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.6233, allocations: 86.12 kB / 0.716 GB, free: 30.11 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.6234, allocations: 4.188 kB / 0.716 GB, free: 30.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.6234, allocations: 3.938 kB / 0.716 GB, free: 30.1 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.6234, allocations: 0 / 0.716 GB, free: 30.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/0.6237, allocations: 98.91 kB / 0.7161 GB, free: 30.04 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004886/0.6242, allocations: 325.3 kB / 0.7164 GB, free: 29.72 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.6244, allocations: 83.16 kB / 0.7165 GB, free: 29.65 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.6245, allocations: 58.44 kB / 0.7166 GB, free: 29.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001668/0.6247, allocations: 103.9 kB / 0.7167 GB, free: 29.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.6247, allocations: 34.31 kB / 0.7167 GB, free: 29.46 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 2.154e-06/0.6247, allocations: 7.984 kB / 0.7167 GB, free: 29.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0005156/0.6253, allocations: 182.2 kB / 0.7169 GB, free: 29.31 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.6253, allocations: 55.41 kB / 0.7169 GB, free: 29.25 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.96e-05/0.6254, allocations: 124.8 kB / 0.7171 GB, free: 29.13 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.6254, allocations: 25.7 kB / 0.7171 GB, free: 29.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.591e-05/0.6255, allocations: 97.02 kB / 0.7172 GB, free: 29.01 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.6255, allocations: 9.578 kB / 0.7172 GB, free: 29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.6255, allocations: 7.5 kB / 0.7172 GB, free: 29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.634e-05/0.6256, allocations: 313.8 kB / 0.7175 GB, free: 28.69 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.6257, allocations: 54.44 kB / 0.7175 GB, free: 28.65 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.6259, allocations: 43.06 kB / 0.7176 GB, free: 28.62 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/0.6261, allocations: 109 kB / 0.7177 GB, free: 28.55 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.6262, allocations: 3.938 kB / 0.7177 GB, free: 28.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003118/0.6265, allocations: 141.6 kB / 0.7178 GB, free: 28.44 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.6265, allocations: 4 kB / 0.7178 GB, free: 28.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.6265, allocations: 5.75 kB / 0.7178 GB, free: 28.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.6265, allocations: 2.812 kB / 0.7178 GB, free: 28.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.6267, allocations: 20.59 kB / 0.7179 GB, free: 28.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.6267, allocations: 0.6562 kB / 0.7179 GB, free: 28.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.226e-05/0.6268, allocations: 20.66 kB / 0.7179 GB, free: 28.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.6268, allocations: 4.656 kB / 0.7179 GB, free: 28.4 MB / 0.4948 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 6.629e-05/0.6269, allocations: 119 kB / 0.718 GB, free: 28.27 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.6269, allocations: 4.562 kB / 0.718 GB, free: 28.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000377/0.6273, allocations: 155.3 kB / 0.7181 GB, free: 28.15 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.6273, allocations: 0.6562 kB / 0.7181 GB, free: 28.15 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.6273, allocations: 0 / 0.7181 GB, free: 28.15 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.6273, allocations: 0 / 0.7181 GB, free: 28.15 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.6275, allocations: 183.4 kB / 0.7183 GB, free: 27.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.6275, allocations: 4 kB / 0.7183 GB, free: 27.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.6277, allocations: 21.44 kB / 0.7183 GB, free: 27.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.6277, allocations: 4.562 kB / 0.7183 GB, free: 27.93 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.6277, allocations: 5.984 kB / 0.7184 GB, free: 27.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.6277, allocations: 0.6562 kB / 0.7184 GB, free: 27.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6277, allocations: 0 / 0.7184 GB, free: 27.93 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.6281, allocations: 236 kB / 0.7186 GB, free: 27.71 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.131e-05/0.6281, allocations: 81.67 kB / 0.7187 GB, free: 27.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.6281, allocations: 8.109 kB / 0.7187 GB, free: 27.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.6282, allocations: 16.55 kB / 0.7187 GB, free: 27.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.6283, allocations: 2.156 kB / 0.7187 GB, free: 27.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.6283, allocations: 4.984 kB / 0.7187 GB, free: 27.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.461e-05/0.6283, allocations: 99.16 kB / 0.7188 GB, free: 27.51 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6283, allocations: 0 / 0.7188 GB, free: 27.51 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002229/0.6286, allocations: 16.8 kB / 0.7188 GB, free: 27.5 MB / 0.4948 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.0001522/0.6287, allocations: 115.7 kB / 0.7189 GB, free: 27.38 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003532/0.6291, allocations: 100.6 kB / 0.719 GB, free: 27.31 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6291, allocations: 0 / 0.719 GB, free: 27.31 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.6293, allocations: 65.95 kB / 0.7191 GB, free: 27.26 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.6296, allocations: 12.69 kB / 0.7191 GB, free: 27.25 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003821/0.63, allocations: 151.7 kB / 0.7192 GB, free: 27.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.6301, allocations: 0.6877 MB / 0.7199 GB, free: 26.39 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.366e-05/0.6302, allocations: 5.281 kB / 0.7199 GB, free: 26.39 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/0.6302, allocations: 11.44 kB / 0.7199 GB, free: 26.38 MB / 0.4948 GB Notification: Performance of SimCode: time 4.51e-07/0.6302, allocations: 0 / 0.7199 GB, free: 26.38 MB / 0.4948 GB Notification: Performance of Templates: time 0.003135/0.6334, allocations: 0.6466 MB / 0.7205 GB, free: 26.01 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)