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.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.001794/0.001794, allocations: 79.83 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.002277/0.002277, allocations: 162.9 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.433/1.433, allocations: 177.1 MB / 202.8 MB, free: 9.156 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.002502/0.002502, allocations: 243.4 kB / 259.4 MB, free: 452 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.081/1.081, allocations: 138.4 MB / 454.3 MB, free: 2.035 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.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 2.184e-06/2.184e-06, allocations: 0 / 0.6468 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.875e-05/3.094e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.003721/0.003752, allocations: 1.507 MB / 0.6483 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004401/0.004192, allocations: 108.5 kB / 0.6484 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.043e-05/0.004242, allocations: 8 kB / 0.6484 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.663e-05/0.004309, allocations: 3.938 kB / 0.6484 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.88e-05/0.004388, allocations: 3.938 kB / 0.6484 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.004668, allocations: 19.97 kB / 0.6484 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.004787, allocations: 47.8 kB / 0.6485 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.004904, allocations: 15.97 kB / 0.6485 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.608e-05/0.00499, allocations: 23.92 kB / 0.6485 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.96e-05/0.00506, allocations: 15.97 kB / 0.6485 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.005086, allocations: 4 kB / 0.6485 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.988e-05/0.005176, allocations: 19.98 kB / 0.6485 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.906e-05/0.005255, allocations: 11.94 kB / 0.6485 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.028e-05/0.005296, allocations: 15.98 kB / 0.6486 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.005507, allocations: 59.78 kB / 0.6486 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.005511, allocations: 0 / 0.6486 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.032e-06/0.005512, allocations: 0 / 0.6486 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.005517, allocations: 0 / 0.6486 GB, free: 3.168 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.0007454/0.006263, allocations: 298.1 kB / 0.6489 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.931e-05/0.006322, allocations: 13.34 kB / 0.6489 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.113e-05/0.006373, allocations: 8.891 kB / 0.6489 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.006556, allocations: 121.7 kB / 0.649 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.006575, allocations: 4.375 kB / 0.649 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.006589, allocations: 384 / 0.649 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003759/0.006965, allocations: 78.16 kB / 0.6491 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.006975, allocations: 192 / 0.6491 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.006987, allocations: 384 / 0.6491 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.006998, allocations: 8.344 kB / 0.6491 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004449/0.007443, allocations: 79.86 kB / 0.6492 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004909/0.007934, allocations: 228.6 kB / 0.6494 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.008246, allocations: 66.47 kB / 0.6495 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.008479, allocations: 44.92 kB / 0.6495 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002847/0.008764, allocations: 35.91 kB / 0.6496 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.008797, allocations: 38.5 kB / 0.6496 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.008798, allocations: 0 / 0.6496 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0008686/0.009667, allocations: 149.5 kB / 0.6497 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.009723, allocations: 51.41 kB / 0.6498 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.009894, allocations: 125.8 kB / 0.6499 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.009917, allocations: 25.7 kB / 0.6499 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.299e-05/0.01001, allocations: 100.1 kB / 0.65 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.01004, allocations: 11.83 kB / 0.65 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.079e-05/0.0101, allocations: 17.72 kB / 0.6501 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001909/0.01029, allocations: 314.8 kB / 0.6504 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/0.01053, allocations: 35.95 kB / 0.6504 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.01076, allocations: 47.95 kB / 0.6504 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004495/0.01121, allocations: 72.78 kB / 0.6505 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01121, allocations: 0 / 0.6505 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005216/0.01173, allocations: 113.6 kB / 0.6506 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.01176, allocations: 11.94 kB / 0.6506 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.01176, allocations: 0 / 0.6506 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.01178, allocations: 0 / 0.6506 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.01197, allocations: 23.91 kB / 0.6507 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.01197, allocations: 0 / 0.6507 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.01209, allocations: 7.984 kB / 0.6507 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.0121, allocations: 4 kB / 0.6507 GB, free: 0.8984 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 0.0002208/0.01232, allocations: 117.8 kB / 0.6508 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.01237, allocations: 7.938 kB / 0.6508 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005635/0.01294, allocations: 117.5 kB / 0.6509 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.01294, allocations: 4 kB / 0.6509 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.01294, allocations: 0 / 0.6509 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.01295, allocations: 0 / 0.6509 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.01319, allocations: 121.3 kB / 0.651 GB, free: 496 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01319, allocations: 4 kB / 0.651 GB, free: 492 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.01332, allocations: 19.98 kB / 0.651 GB, free: 472 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01332, allocations: 0 / 0.651 GB, free: 472 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.01333, allocations: 384 / 0.651 GB, free: 472 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.01334, allocations: 7.875 kB / 0.651 GB, free: 464 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01334, allocations: 4 kB / 0.651 GB, free: 460 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005635/0.0139, allocations: 211.3 kB / 0.6513 GB, free: 232 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.353e-05/0.01392, allocations: 8 kB / 0.6513 GB, free: 224 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.01394, allocations: 0 / 0.6513 GB, free: 224 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.01411, allocations: 19.91 kB / 0.6513 GB, free: 204 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/0.01416, allocations: 4 kB / 0.6513 GB, free: 200 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.01417, allocations: 0 / 0.6513 GB, free: 200 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001072/0.01427, allocations: 102.6 kB / 0.6514 GB, free: 100 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.01427, allocations: 3.938 kB / 0.6514 GB, free: 96 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005035/0.01478, allocations: 12 kB / 0.6514 GB, free: 84 kB / 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.3037/0.3185, allocations: 100.9 kB / 0.6515 GB, free: 56.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004509/0.3189, allocations: 77.81 kB / 0.6516 GB, free: 56.93 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3189, allocations: 0 / 0.6516 GB, free: 56.93 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.3191, allocations: 39.41 kB / 0.6516 GB, free: 56.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.3194, allocations: 4.141 kB / 0.6516 GB, free: 56.93 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/0.3197, allocations: 152.8 kB / 0.6518 GB, free: 56.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.328e-05/0.3198, allocations: 75.84 kB / 0.6518 GB, free: 56.75 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.985e-05/0.3198, allocations: 2.125 kB / 0.6518 GB, free: 56.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.002e-05/0.3198, allocations: 15.91 kB / 0.6518 GB, free: 56.75 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.3198, allocations: 0.5312 kB / 0.6518 GB, free: 56.75 MB / 0.5606 GB Notification: Performance of Templates: time 0.003279/0.3231, allocations: 0.8292 MB / 0.6527 GB, free: 56.71 MB / 0.5606 GB " [Timeout remaining time 660] 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: 5.920636232942343] Failed to read output from testmodel.py, exit status != 0: 0.33260392025113106 0.34067940300000005 0.332948893 Calling exit ...