Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 117.8 kB / 17.13 MB, free: 5.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 192.6 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 225.6 MB / 248.5 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002256/0.002256, allocations: 285.4 kB / 303.6 MB, free: 3.742 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.004/1.004, allocations: 180.9 MB / 0.5268 GB, free: 2.641 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic") translateModel(BuildingSystems.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002702/0.002702, allocations: 103.8 kB / 0.7259 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4916/0.4943, allocations: 94.14 MB / 0.8179 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.002187/0.4965, allocations: 1.503 MB / 0.8193 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002532/0.4967, allocations: 118.1 kB / 0.8194 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.029e-05/0.4968, allocations: 0.9375 kB / 0.8194 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.586e-05/0.4968, allocations: 0.7969 kB / 0.8194 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.967e-05/0.4968, allocations: 10.92 kB / 0.8195 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.497, allocations: 25.84 kB / 0.8195 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.925e-05/0.4971, allocations: 44.58 kB / 0.8195 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.043e-05/0.4972, allocations: 10.98 kB / 0.8195 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.064e-05/0.4972, allocations: 21.36 kB / 0.8196 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.567e-05/0.4973, allocations: 21.83 kB / 0.8196 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.4973, allocations: 2.688 kB / 0.8196 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.013e-05/0.4974, allocations: 19.36 kB / 0.8196 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.056e-05/0.4974, allocations: 13.86 kB / 0.8196 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.731e-05/0.4974, allocations: 23.55 kB / 0.8196 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.4975, allocations: 56.83 kB / 0.8197 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4975, allocations: 4 kB / 0.8197 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4975, allocations: 4 kB / 0.8197 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.4975, allocations: 0 / 0.8197 GB, free: 6.164 MB / 0.5762 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.00042/0.498, allocations: 374.1 kB / 0.8201 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.498, allocations: 9.875 kB / 0.8201 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.392e-05/0.498, allocations: 7.672 kB / 0.8201 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.973e-05/0.4981, allocations: 175 kB / 0.8202 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.4981, allocations: 6.188 kB / 0.8202 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.4981, allocations: 5.281 kB / 0.8202 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.4983, allocations: 76.78 kB / 0.8203 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.4984, allocations: 0.9688 kB / 0.8203 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.4984, allocations: 3.938 kB / 0.8203 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.4984, allocations: 1.375 kB / 0.8203 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002802/0.4986, allocations: 71.33 kB / 0.8204 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002683/0.4989, allocations: 286.2 kB / 0.8207 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.4991, allocations: 73.59 kB / 0.8207 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.4992, allocations: 45.08 kB / 0.8208 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001842/0.4994, allocations: 114 kB / 0.8209 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.4995, allocations: 36.09 kB / 0.8209 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.4995, allocations: 0 / 0.8209 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005266/0.5, allocations: 149.7 kB / 0.8211 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.5, allocations: 56.56 kB / 0.8211 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.238e-05/0.5001, allocations: 131.1 kB / 0.8212 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.832e-06/0.5001, allocations: 25.7 kB / 0.8213 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.612e-05/0.5001, allocations: 87.05 kB / 0.8214 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.5001, allocations: 17.91 kB / 0.8214 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.5002, allocations: 17.22 kB / 0.8214 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.305e-05/0.5002, allocations: 323.6 kB / 0.8217 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.5003, allocations: 36.03 kB / 0.8217 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.5005, allocations: 35.19 kB / 0.8218 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.5007, allocations: 84.02 kB / 0.8218 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.5007, allocations: 3.938 kB / 0.8218 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002953/0.501, allocations: 109 kB / 0.8219 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.501, allocations: 8.062 kB / 0.822 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.501, allocations: 1.156 kB / 0.822 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.501, allocations: 0 / 0.822 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.5012, allocations: 21.72 kB / 0.822 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.5012, allocations: 0 / 0.822 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.231e-05/0.5012, allocations: 15.97 kB / 0.822 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.5012, allocations: 0.9688 kB / 0.822 GB, free: 4.242 MB / 0.5762 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 4.775e-05/0.5013, allocations: 115 kB / 0.8221 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.5013, allocations: 7.453 kB / 0.8221 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003562/0.5017, allocations: 123.3 kB / 0.8222 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.5017, allocations: 1.25 kB / 0.8222 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.5017, allocations: 0 / 0.8222 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.5017, allocations: 2.172 kB / 0.8222 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.5018, allocations: 186 kB / 0.8224 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.5018, allocations: 1.125 kB / 0.8224 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.031e-05/0.5019, allocations: 16.39 kB / 0.8224 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.5019, allocations: 0 / 0.8224 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.5019, allocations: 4.516 kB / 0.8224 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.5019, allocations: 0.875 kB / 0.8224 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.5019, allocations: 0 / 0.8224 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.5022, allocations: 209.1 kB / 0.8226 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.882e-05/0.5023, allocations: 87.75 kB / 0.8227 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.5023, allocations: 5.594 kB / 0.8227 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.5024, allocations: 11.16 kB / 0.8227 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.5024, allocations: 8.516 kB / 0.8227 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.5024, allocations: 3.938 kB / 0.8227 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.031e-05/0.5025, allocations: 101.2 kB / 0.8228 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.5025, allocations: 0 / 0.8228 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002106/0.5027, allocations: 9.625 kB / 0.8228 GB, free: 3.508 MB / 0.5762 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.0001044/0.5028, allocations: 114.1 kB / 0.823 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003313/0.5031, allocations: 79.69 kB / 0.823 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5031, allocations: 0 / 0.823 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.5033, allocations: 40.66 kB / 0.8231 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.5035, allocations: 8.125 kB / 0.8231 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002612/0.5037, allocations: 183.1 kB / 0.8233 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.671e-05/0.5038, allocations: 0.6852 MB / 0.8239 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.5039, allocations: 9.656 kB / 0.8239 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.5039, allocations: 0 / 0.8239 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of Templates: time 0.002221/0.5061, allocations: 0.896 MB / 0.8248 GB, free: 2.449 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.938592497026548] Failed to read output from testmodel.py, exit status != 0: 0.5129373259842396 0.524090389 0.023567099 Calling exit ...