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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 79.91 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 162.8 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.422/1.422, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002501/0.002501, allocations: 237.4 kB / 259.4 MB, free: 456 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.074/1.074, allocations: 138.4 MB / 454.3 MB, free: 1.996 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear") translateModel(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.6468 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.608e-05, allocations: 2.281 kB / 0.6468 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.002592/0.002619, allocations: 1.512 MB / 0.6483 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003235/0.002942, allocations: 108.6 kB / 0.6484 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.272e-05/0.002975, allocations: 0 / 0.6484 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.602e-05/0.003021, allocations: 3.938 kB / 0.6484 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.959e-05/0.00308, allocations: 7.875 kB / 0.6484 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.003298, allocations: 23.97 kB / 0.6484 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.624e-05/0.003394, allocations: 43.84 kB / 0.6485 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.003496, allocations: 15.92 kB / 0.6485 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.805e-05/0.003564, allocations: 27.97 kB / 0.6485 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.497e-05/0.003609, allocations: 11.98 kB / 0.6485 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.003628, allocations: 4 kB / 0.6485 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.409e-05/0.003702, allocations: 19.98 kB / 0.6485 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.998e-05/0.003752, allocations: 15.92 kB / 0.6485 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.869e-05/0.003781, allocations: 11.94 kB / 0.6486 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.003938, allocations: 67.78 kB / 0.6486 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.00394, allocations: 0 / 0.6486 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.61e-07/0.00394, allocations: 0 / 0.6486 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.003945, allocations: 0 / 0.6486 GB, free: 3.082 MB / 0.5606 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.0005732/0.004518, allocations: 306.1 kB / 0.6489 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.004559, allocations: 9.344 kB / 0.6489 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.004593, allocations: 8.891 kB / 0.6489 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.004712, allocations: 117.6 kB / 0.649 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.004727, allocations: 4.375 kB / 0.649 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.004741, allocations: 384 / 0.649 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.005021, allocations: 74.2 kB / 0.6491 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.005031, allocations: 4.188 kB / 0.6491 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.005043, allocations: 8.375 kB / 0.6491 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.005048, allocations: 384 / 0.6491 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003272/0.005375, allocations: 79.8 kB / 0.6492 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003685/0.005744, allocations: 228.6 kB / 0.6494 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.00598, allocations: 66.47 kB / 0.6495 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.006155, allocations: 52.89 kB / 0.6495 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001948/0.006349, allocations: 27.97 kB / 0.6496 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.006384, allocations: 34.56 kB / 0.6496 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.006386, allocations: 0 / 0.6496 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0006028/0.006988, allocations: 153.5 kB / 0.6497 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.007033, allocations: 51.41 kB / 0.6498 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.007162, allocations: 129.2 kB / 0.6499 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.007181, allocations: 25.7 kB / 0.6499 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.838e-05/0.007249, allocations: 96.09 kB / 0.65 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.00727, allocations: 7.891 kB / 0.65 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.007316, allocations: 21.7 kB / 0.6501 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.00746, allocations: 314.8 kB / 0.6504 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.007623, allocations: 43.95 kB / 0.6504 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.007768, allocations: 31.97 kB / 0.6504 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003025/0.008071, allocations: 84.7 kB / 0.6505 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.008072, allocations: 0 / 0.6505 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003499/0.008422, allocations: 109.6 kB / 0.6506 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.008437, allocations: 7.938 kB / 0.6506 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.008444, allocations: 4 kB / 0.6506 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.008457, allocations: 0 / 0.6506 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.008585, allocations: 19.97 kB / 0.6506 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.008589, allocations: 0 / 0.6506 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.202e-05/0.008671, allocations: 15.98 kB / 0.6507 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.008679, allocations: 0 / 0.6507 GB, free: 0.8164 MB / 0.5606 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.279e-05/0.008762, allocations: 109.8 kB / 0.6508 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.008794, allocations: 11.95 kB / 0.6508 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004103/0.009204, allocations: 129.4 kB / 0.6509 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.009206, allocations: 0 / 0.6509 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.00921, allocations: 0 / 0.6509 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.009212, allocations: 8 kB / 0.6509 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.009363, allocations: 117.3 kB / 0.651 GB, free: 404 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.009364, allocations: 0 / 0.651 GB, free: 404 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.009465, allocations: 23.97 kB / 0.651 GB, free: 380 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.009467, allocations: 0 / 0.651 GB, free: 380 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.009475, allocations: 0 / 0.651 GB, free: 380 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.009479, allocations: 3.938 kB / 0.651 GB, free: 376 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.00948, allocations: 0 / 0.651 GB, free: 376 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004045/0.009884, allocations: 215.7 kB / 0.6513 GB, free: 144 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-06/0.009891, allocations: 0 / 0.6513 GB, free: 144 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.009908, allocations: 4 kB / 0.6513 GB, free: 140 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.01002, allocations: 11.92 kB / 0.6513 GB, free: 128 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.01006, allocations: 11.97 kB / 0.6513 GB, free: 116 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-06/0.01007, allocations: 3.984 kB / 0.6513 GB, free: 112 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.565e-05/0.01014, allocations: 99.27 kB / 0.6514 GB, free: 12 kB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.01014, allocations: 0 / 0.6514 GB, free: 12 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002316/0.01037, allocations: 12 kB / 0.6514 GB, free: 0 / 0.5606 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.0001833/0.01055, allocations: 98.97 kB / 0.6515 GB, free: 56.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004003/0.01095, allocations: 79.28 kB / 0.6516 GB, free: 56.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01095, allocations: 0.5 kB / 0.6516 GB, free: 56.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.01111, allocations: 43.91 kB / 0.6516 GB, free: 56.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.01138, allocations: 11.7 kB / 0.6516 GB, free: 56.82 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003064/0.01169, allocations: 148.6 kB / 0.6518 GB, free: 56.71 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.698e-05/0.01174, allocations: 71.58 kB / 0.6518 GB, free: 56.64 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.764e-05/0.01176, allocations: 3.375 kB / 0.6518 GB, free: 56.64 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.806e-05/0.01179, allocations: 13.3 kB / 0.6518 GB, free: 56.63 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.01179, allocations: 0 / 0.6518 GB, free: 56.63 MB / 0.5606 GB Notification: Performance of Templates: time 0.003117/0.01491, allocations: 0.8408 MB / 0.6527 GB, free: 56.6 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.818182494491339] Failed to read output from testmodel.py, exit status != 0: 0.27895787730813026 0.288081899 0.28194124099999995 Calling exit ...