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.001535/0.001535, allocations: 78.17 kB / 19.76 MB, free: 2.035 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.001574/0.001574, allocations: 159.3 kB / 23.01 MB, free: 4.945 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.314/1.314, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 179] 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.002338/0.002338, allocations: 243.7 kB / 260 MB, free: 412 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 0.8754/0.8754, allocations: 138.5 MB / 455 MB, free: 15.06 MB / 430.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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002922/0.002922, allocations: 95.84 kB / 0.6474 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3657, allocations: 95.34 MB / 0.7405 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.002191/0.3679, allocations: 1.61 MB / 0.742 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0007691/0.3687, allocations: 0.5743 MB / 0.7426 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.543e-05/0.3687, allocations: 1.156 kB / 0.7426 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 8.107e-05/0.3688, allocations: 11.86 kB / 0.7426 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 2.965e-05/0.3688, allocations: 17.77 kB / 0.7426 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.3691, allocations: 65.95 kB / 0.7427 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.3692, allocations: 83.84 kB / 0.7428 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.3693, allocations: 26.56 kB / 0.7428 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.3694, allocations: 49.22 kB / 0.7428 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.798e-05/0.3695, allocations: 43.72 kB / 0.7429 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.3695, allocations: 6.938 kB / 0.7429 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 5.985e-05/0.3695, allocations: 19.33 kB / 0.7429 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.569e-05/0.3696, allocations: 17.28 kB / 0.7429 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.64e-05/0.3696, allocations: 35.89 kB / 0.743 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.3698, allocations: 102.7 kB / 0.7431 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.3698, allocations: 0 / 0.7431 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3698, allocations: 1.594 kB / 0.7431 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.3698, allocations: 0 / 0.7431 GB, free: 15.68 MB / 0.5919 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.0003946/0.3702, allocations: 340.8 kB / 0.7434 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.733e-05/0.3702, allocations: 10.5 kB / 0.7434 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002742/0.3705, allocations: 36.03 kB / 0.7434 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.3706, allocations: 146.2 kB / 0.7436 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.3706, allocations: 6.656 kB / 0.7436 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.3707, allocations: 9.344 kB / 0.7436 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.3709, allocations: 107.8 kB / 0.7437 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.3709, allocations: 7.938 kB / 0.7437 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.3709, allocations: 0 / 0.7437 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3709, allocations: 1.906 kB / 0.7437 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002048/0.3711, allocations: 101.4 kB / 0.7438 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004256/0.3715, allocations: 303.7 kB / 0.7441 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.3717, allocations: 62.8 kB / 0.7441 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.3718, allocations: 48.14 kB / 0.7442 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.3718, allocations: 3.453 kB / 0.7442 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.402e-05/0.3718, allocations: 32.55 kB / 0.7442 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.3718, allocations: 0 / 0.7442 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=6): time 0.0004024/0.3722, allocations: 166.8 kB / 0.7444 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.561e-05/0.3722, allocations: 61.06 kB / 0.7444 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.845e-05/0.3723, allocations: 142.9 kB / 0.7446 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.775e-06/0.3723, allocations: 25.7 kB / 0.7446 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.976e-05/0.3723, allocations: 109.3 kB / 0.7447 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.3724, allocations: 19.38 kB / 0.7447 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.3724, allocations: 22.19 kB / 0.7447 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.406e-05/0.3724, allocations: 320.1 kB / 0.745 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.3725, allocations: 38.95 kB / 0.7451 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.316e-05/0.3726, allocations: 43.28 kB / 0.7451 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.3728, allocations: 95.59 kB / 0.7452 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3728, allocations: 1.438 kB / 0.7452 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00024/0.3731, allocations: 128.4 kB / 0.7453 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.3731, allocations: 5.156 kB / 0.7453 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.3731, allocations: 5.312 kB / 0.7453 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.3731, allocations: 0 / 0.7453 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.3732, allocations: 17.27 kB / 0.7454 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.3732, allocations: 4 kB / 0.7454 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.719e-05/0.3733, allocations: 13.06 kB / 0.7454 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.3733, allocations: 2.656 kB / 0.7454 GB, free: 13.94 MB / 0.5919 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 4.882e-05/0.3733, allocations: 118.8 kB / 0.7455 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.3734, allocations: 13.31 kB / 0.7455 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002993/0.3737, allocations: 149.2 kB / 0.7457 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3737, allocations: 0 / 0.7457 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.3737, allocations: 5.344 kB / 0.7457 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3737, allocations: 0.75 kB / 0.7457 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.3738, allocations: 141.5 kB / 0.7458 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3738, allocations: 0.6562 kB / 0.7458 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.3739, allocations: 18.44 kB / 0.7458 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.3739, allocations: 0 / 0.7458 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.3739, allocations: 10.81 kB / 0.7458 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3739, allocations: 3.938 kB / 0.7458 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3739, allocations: 1.5 kB / 0.7458 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.3742, allocations: 228.3 kB / 0.746 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 1.175e-05/0.3742, allocations: 9.297 kB / 0.7461 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.3742, allocations: 4 kB / 0.7461 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.775e-05/0.3743, allocations: 12.48 kB / 0.7461 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.3743, allocations: 9.359 kB / 0.7461 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.3743, allocations: 4.156 kB / 0.7461 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.326e-05/0.3744, allocations: 107 kB / 0.7462 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.3744, allocations: 1.375 kB / 0.7462 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002262/0.3746, allocations: 24.83 kB / 0.7462 GB, free: 13.31 MB / 0.5919 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 8.625e-05/0.3747, allocations: 99.64 kB / 0.7463 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002502/0.375, allocations: 97.55 kB / 0.7464 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.375, allocations: 3.938 kB / 0.7464 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.3751, allocations: 49.56 kB / 0.7464 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.3753, allocations: 5.375 kB / 0.7465 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003383/0.3756, allocations: 223.8 kB / 0.7467 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.852e-05/0.3757, allocations: 94.16 kB / 0.7468 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.951e-05/0.3757, allocations: 15.95 kB / 0.7468 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.3757, allocations: 12.88 kB / 0.7468 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.3757, allocations: 1.125 kB / 0.7468 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of Templates: time 0.002916/0.3787, allocations: 0.7003 MB / 0.7475 GB, free: 12.83 MB / 0.5919 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.390356935095042] Failed to read output from testmodel.py, exit status != 0: 0.38559815601911396 0.39540228400000005 0.023371477 Calling exit ...