Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.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.00181/0.00181, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.001772/0.001772, allocations: 174.3 kB / 22.46 MB, free: 5.355 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.421/1.421, allocations: 177.1 MB / 202.8 MB, free: 9.176 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.003362/0.003362, allocations: 240.8 kB / 259.4 MB, free: 480 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.106/1.106, allocations: 138.4 MB / 454.3 MB, free: 2.016 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.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") translateModel(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 0.6468 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.395e-05/2.509e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.002655/0.00268, allocations: 1.605 MB / 0.6484 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.003762, allocations: 0.5773 MB / 0.6489 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.576e-05/0.003827, allocations: 0 / 0.6489 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.003928, allocations: 11.86 kB / 0.6489 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.157e-05/0.00397, allocations: 15.86 kB / 0.649 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.004278, allocations: 71.72 kB / 0.649 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.004435, allocations: 87.64 kB / 0.6491 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.004575, allocations: 31.97 kB / 0.6491 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.004742, allocations: 59.83 kB / 0.6492 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.776e-05/0.00482, allocations: 35.89 kB / 0.6492 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.004847, allocations: 8 kB / 0.6492 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.272e-05/0.00492, allocations: 19.98 kB / 0.6493 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.373e-05/0.004963, allocations: 19.91 kB / 0.6493 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.037e-05/0.005004, allocations: 19.94 kB / 0.6493 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.005181, allocations: 103.6 kB / 0.6494 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.005183, allocations: 0 / 0.6494 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.01e-07/0.005184, allocations: 0 / 0.6494 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.005193, allocations: 0 / 0.6494 GB, free: 2.352 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005487/0.005742, allocations: 340.6 kB / 0.6497 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.005778, allocations: 13.28 kB / 0.6497 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003149/0.006092, allocations: 40.84 kB / 0.6498 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.006341, allocations: 150 kB / 0.6499 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.006349, allocations: 4.375 kB / 0.6499 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.00637, allocations: 8.375 kB / 0.6499 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.006635, allocations: 101 kB / 0.65 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.006646, allocations: 7.938 kB / 0.65 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.006663, allocations: 8 kB / 0.65 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.006668, allocations: 0 / 0.65 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002591/0.006927, allocations: 99.86 kB / 0.6501 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005676/0.007494, allocations: 304.3 kB / 0.6504 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.007654, allocations: 58.48 kB / 0.6505 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.007784, allocations: 48.95 kB / 0.6505 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.459e-05/0.007828, allocations: 15.97 kB / 0.6505 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.007852, allocations: 30.56 kB / 0.6506 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.007853, allocations: 0 / 0.6506 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0005169/0.00837, allocations: 165.5 kB / 0.6507 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.00841, allocations: 51.41 kB / 0.6508 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.008538, allocations: 152.9 kB / 0.6509 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.008561, allocations: 25.7 kB / 0.6509 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.792e-05/0.008629, allocations: 104.1 kB / 0.651 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.008659, allocations: 23.94 kB / 0.6511 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/0.008706, allocations: 17.72 kB / 0.6511 GB, free: 484 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.008847, allocations: 322.8 kB / 0.6514 GB, free: 152 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.008969, allocations: 35.97 kB / 0.6514 GB, free: 116 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.009086, allocations: 39.97 kB / 0.6515 GB, free: 76 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2574/0.2665, allocations: 88.23 kB / 0.6516 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.2665, allocations: 0 / 0.6516 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003228/0.2668, allocations: 128.9 kB / 0.6517 GB, free: 56.58 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.2668, allocations: 6.969 kB / 0.6517 GB, free: 56.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2668, allocations: 0 / 0.6517 GB, free: 56.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.2669, allocations: 2.25 kB / 0.6517 GB, free: 56.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.267, allocations: 19.44 kB / 0.6517 GB, free: 56.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.267, allocations: 4.281 kB / 0.6517 GB, free: 56.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.715e-05/0.2671, allocations: 13.06 kB / 0.6517 GB, free: 56.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.2671, allocations: 6.109 kB / 0.6517 GB, free: 56.58 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 (6): * Single equations (assignments): 6 * 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 7.261e-05/0.2672, allocations: 120 kB / 0.6518 GB, free: 56.47 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.347e-05/0.2672, allocations: 9.438 kB / 0.6518 GB, free: 56.47 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003497/0.2676, allocations: 143.4 kB / 0.652 GB, free: 56.44 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.2676, allocations: 0 / 0.652 GB, free: 56.44 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2676, allocations: 2.156 kB / 0.652 GB, free: 56.44 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.2676, allocations: 1.062 kB / 0.652 GB, free: 56.44 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.2677, allocations: 157.3 kB / 0.6521 GB, free: 56.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2677, allocations: 0 / 0.6521 GB, free: 56.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.2678, allocations: 24.06 kB / 0.6522 GB, free: 56.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2678, allocations: 4.812 kB / 0.6522 GB, free: 56.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.2678, allocations: 0 / 0.6522 GB, free: 56.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2678, allocations: 3.375 kB / 0.6522 GB, free: 56.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2678, allocations: 3.469 kB / 0.6522 GB, free: 56.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.2681, allocations: 226.4 kB / 0.6524 GB, free: 56.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.334e-05/0.2681, allocations: 11.77 kB / 0.6524 GB, free: 56.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.2682, allocations: 0.5625 kB / 0.6524 GB, free: 56.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.2683, allocations: 10.73 kB / 0.6524 GB, free: 56.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.2683, allocations: 8.047 kB / 0.6524 GB, free: 56.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.2683, allocations: 4.594 kB / 0.6524 GB, free: 56.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.383e-05/0.2684, allocations: 105.8 kB / 0.6525 GB, free: 56.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2684, allocations: 0 / 0.6525 GB, free: 56.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002488/0.2686, allocations: 17.72 kB / 0.6525 GB, free: 56.1 MB / 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 (6): * Single equations (assignments): 6 * 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.0001254/0.2687, allocations: 105.9 kB / 0.6526 GB, free: 56.01 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002616/0.269, allocations: 96.94 kB / 0.6527 GB, free: 56.01 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.269, allocations: 0.75 kB / 0.6527 GB, free: 56.01 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.2691, allocations: 51.31 kB / 0.6528 GB, free: 56.01 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.2693, allocations: 3.562 kB / 0.6528 GB, free: 56.01 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003714/0.2697, allocations: 216.8 kB / 0.653 GB, free: 55.88 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.344e-05/0.2698, allocations: 93.91 kB / 0.6531 GB, free: 55.81 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.289e-05/0.2698, allocations: 11.41 kB / 0.6531 GB, free: 55.81 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.2699, allocations: 17.91 kB / 0.6531 GB, free: 55.8 MB / 0.5606 GB Notification: Performance of SimCode: time 3.51e-07/0.2699, allocations: 3.531 kB / 0.6531 GB, free: 55.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.003116/0.273, allocations: 0.7014 MB / 0.6538 GB, free: 55.78 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.741745971143246] Failed to read output from testmodel.py, exit status != 0: 0.2803542949259281 0.289533391 0.28212809099999997 Calling exit ...