Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001277/0.001277, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001275/0.001276, allocations: 191.5 kB / 16.13 MB, free: 6.703 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.447/1.447, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.937/2.937, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 75.45 kB / 0.9113 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3328, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002764/0.3356, allocations: 1.543 MB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003304/0.3359, allocations: 115.7 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.142e-05/0.336, allocations: 4 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.76e-05/0.3361, allocations: 0 / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.031e-05/0.3361, allocations: 7.938 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.3363, allocations: 23.95 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.479e-05/0.3364, allocations: 43.8 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.695e-05/0.3365, allocations: 16 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.285e-05/0.3366, allocations: 15.92 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.128e-05/0.3367, allocations: 23.91 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.3367, allocations: 4 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.803e-05/0.3368, allocations: 19.98 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.082e-05/0.3368, allocations: 11.98 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.811e-05/0.3369, allocations: 19.81 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.337, allocations: 51.84 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.337, allocations: 4 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.12e-07/0.337, allocations: 0 / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.717e-06/0.337, allocations: 0 / 1.069 GB, free: 9.004 MB / 0.8262 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.0005697/0.3376, allocations: 379.5 kB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.3376, allocations: 8.031 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.3377, allocations: 8.844 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.3378, allocations: 176.2 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.3378, allocations: 4.375 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.3379, allocations: 4.375 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/0.3381, allocations: 70.22 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.3382, allocations: 4.125 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.3382, allocations: 15.86 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.3382, allocations: 4 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003241/0.3385, allocations: 75.91 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.3389, allocations: 284.9 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.3392, allocations: 74.47 kB / 1.07 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.3393, allocations: 40.91 kB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002628/0.3396, allocations: 113 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.3396, allocations: 38.56 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.3396, allocations: 0 / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005803/0.3402, allocations: 141.5 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.3403, allocations: 55.41 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.3404, allocations: 125.8 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.3404, allocations: 33.7 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.216e-05/0.3405, allocations: 91.98 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.3405, allocations: 11.89 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.3405, allocations: 13.72 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.583e-05/0.3406, allocations: 318.8 kB / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.3408, allocations: 35.95 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.341, allocations: 43.95 kB / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.3412, allocations: 72.78 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.517e-05/0.3413, allocations: 3.938 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003472/0.3416, allocations: 117.5 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3417, allocations: 9.719 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3417, allocations: 0 / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3417, allocations: 0 / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.3418, allocations: 15.97 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3418, allocations: 4 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.868e-05/0.3419, allocations: 7.984 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.3419, allocations: 8 kB / 1.072 GB, free: 6.398 MB / 0.8262 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 8.124e-05/0.342, allocations: 117.8 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.3421, allocations: 3.984 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003806/0.3425, allocations: 117.5 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3425, allocations: 0 / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3425, allocations: 4 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3425, allocations: 4.375 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.3427, allocations: 177.6 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3427, allocations: 3.938 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.839e-05/0.3428, allocations: 15.98 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3428, allocations: 0 / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.3428, allocations: 7.984 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3428, allocations: 0 / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3428, allocations: 7.922 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003642/0.3432, allocations: 211.3 kB / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/0.3432, allocations: 85 kB / 1.072 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.3432, allocations: 0 / 1.072 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.3434, allocations: 15.98 kB / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.3434, allocations: 7.938 kB / 1.072 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.3434, allocations: 7.984 kB / 1.072 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.599e-05/0.3435, allocations: 102.6 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.9e-07/0.3435, allocations: 0 / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002301/0.3437, allocations: 8 kB / 1.073 GB, free: 5.414 MB / 0.8262 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.0001338/0.3439, allocations: 99.25 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003365/0.3442, allocations: 83.91 kB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3442, allocations: 0 / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.3444, allocations: 39.97 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.3447, allocations: 7.938 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003268/0.345, allocations: 175.1 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.3452, allocations: 0.6848 MB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.624e-05/0.3453, allocations: 11.84 kB / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.3453, allocations: 7.438 kB / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of SimCode: time 2.9e-07/0.3453, allocations: 0 / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of Templates: time 0.002706/0.348, allocations: 0.6584 MB / 1.074 GB, free: 3.598 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)