Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.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.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00156/0.00156, allocations: 199.2 kB / 16.14 MB, free: 6.688 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.454/1.454, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.895/2.895, allocations: 472.6 MB / 0.7447 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 64.03 kB / 0.9113 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.357, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.003466/0.3605, allocations: 1.543 MB / 1.069 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003675/0.3609, allocations: 111.7 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.978e-05/0.361, allocations: 4 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.194e-05/0.361, allocations: 7.875 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.332e-05/0.3611, allocations: 7.938 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.3613, allocations: 15.97 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.316e-05/0.3614, allocations: 39.92 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.848e-05/0.3615, allocations: 8 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.444e-05/0.3616, allocations: 23.91 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.068e-05/0.3617, allocations: 31.84 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.3617, allocations: 4 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.652e-05/0.3617, allocations: 11.98 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.238e-05/0.3618, allocations: 15.92 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.3619, allocations: 19.88 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.362, allocations: 47.86 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.362, allocations: 0 / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.02e-07/0.362, allocations: 0 / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.362, allocations: 0 / 1.069 GB, free: 9.035 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.0005523/0.3626, allocations: 391.5 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.3626, allocations: 8.031 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.668e-05/0.3627, allocations: 8.844 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.3629, allocations: 172.3 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.3629, allocations: 384 / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.3629, allocations: 4.375 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.3632, allocations: 74.2 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3632, allocations: 4.188 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.3632, allocations: 7.875 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.3632, allocations: 0 / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002922/0.3635, allocations: 79.86 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.364, allocations: 277 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/0.3642, allocations: 78.47 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.3644, allocations: 40.91 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002897/0.3647, allocations: 116.9 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.3647, allocations: 34.55 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.3647, allocations: 0 / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005646/0.3653, allocations: 145.6 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.3653, allocations: 55.41 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.3654, allocations: 129.2 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.3655, allocations: 25.7 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.894e-05/0.3655, allocations: 95.98 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.3656, allocations: 7.906 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.3656, allocations: 13.72 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.3658, allocations: 322.8 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.3659, allocations: 39.95 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.3661, allocations: 39.91 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.3664, allocations: 72.78 kB / 1.071 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.3664, allocations: 7.938 kB / 1.071 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003526/0.3668, allocations: 117.5 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.3668, allocations: 8 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3668, allocations: 0 / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.3668, allocations: 0 / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.367, allocations: 15.98 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.367, allocations: 0 / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.572e-05/0.3671, allocations: 19.91 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.3671, allocations: 4 kB / 1.072 GB, free: 6.426 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 0.0001022/0.3672, allocations: 121.7 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.3673, allocations: 0 / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004193/0.3677, allocations: 117.5 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.3677, allocations: 8 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.3677, allocations: 0 / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3677, allocations: 384 / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.368, allocations: 181.6 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.368, allocations: 0 / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.926e-05/0.3681, allocations: 15.98 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3681, allocations: 0 / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.3681, allocations: 3.984 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.3681, allocations: 4 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.3681, allocations: 0 / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004267/0.3686, allocations: 215.2 kB / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.353e-05/0.3686, allocations: 81.02 kB / 1.072 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.3687, allocations: 7.938 kB / 1.072 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.3688, allocations: 11.97 kB / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/0.3688, allocations: 12 kB / 1.072 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.3689, allocations: 0 / 1.072 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.202e-05/0.3689, allocations: 95.27 kB / 1.072 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.369, allocations: 0 / 1.072 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002386/0.3692, allocations: 12 kB / 1.073 GB, free: 5.449 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.0001935/0.3694, allocations: 107.2 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003988/0.3698, allocations: 83.86 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.3698, allocations: 0 / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001816/0.37, allocations: 43.95 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.3703, allocations: 11.88 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004276/0.3707, allocations: 163.2 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.3711, allocations: 0.6887 MB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.983e-05/0.3711, allocations: 11.86 kB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.821e-05/0.3712, allocations: 7.438 kB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3712, allocations: 0 / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of Templates: time 0.00315/0.3743, allocations: 0.6533 MB / 1.074 GB, free: 3.629 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1)