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.0007386/0.0007386, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007484/0.0007484, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8343/0.8343, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 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.00142/0.00142, allocations: 238.8 kB / 260.2 MB, free: 13.03 MB / 250.7 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.6503/0.6503, allocations: 138.4 MB / 455.1 MB, free: 30.01 MB / 410.7 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.282e-06/1.282e-06, allocations: 0 / 0.6475 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.716e-05/1.845e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.34 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.2576/0.2576, allocations: 1.587 MB / 0.6491 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.000803/0.2584, allocations: 0.5697 MB / 0.6496 GB, free: 56.21 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.438e-05/0.2585, allocations: 1.719 kB / 0.6496 GB, free: 56.21 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 8.491e-05/0.2586, allocations: 11.92 kB / 0.6497 GB, free: 56.21 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.444e-05/0.2586, allocations: 21.03 kB / 0.6497 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.2589, allocations: 60.31 kB / 0.6497 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.000117/0.259, allocations: 87.16 kB / 0.6498 GB, free: 56.18 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.2591, allocations: 32.25 kB / 0.6498 GB, free: 56.17 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.2592, allocations: 57.47 kB / 0.6499 GB, free: 56.16 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.345e-05/0.2593, allocations: 36.34 kB / 0.6499 GB, free: 56.16 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.2593, allocations: 5.656 kB / 0.6499 GB, free: 56.16 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 5.383e-05/0.2593, allocations: 19.75 kB / 0.65 GB, free: 56.16 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.08e-05/0.2594, allocations: 26.7 kB / 0.65 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.626e-05/0.2594, allocations: 23.27 kB / 0.65 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.2595, allocations: 103.6 kB / 0.6501 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2595, allocations: 0 / 0.6501 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2595, allocations: 2.25 kB / 0.6501 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.2595, allocations: 0 / 0.6501 GB, free: 56.12 MB / 0.5573 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.0003408/0.2599, allocations: 332.8 kB / 0.6504 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.2599, allocations: 12.84 kB / 0.6504 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.2601, allocations: 35.58 kB / 0.6505 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.2603, allocations: 153.6 kB / 0.6506 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.2603, allocations: 3.688 kB / 0.6506 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.2603, allocations: 9.531 kB / 0.6506 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.2604, allocations: 109.2 kB / 0.6507 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.2604, allocations: 3.938 kB / 0.6507 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.2605, allocations: 3.219 kB / 0.6507 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.2605, allocations: 1.219 kB / 0.6507 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.2606, allocations: 100.2 kB / 0.6508 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/0.2609, allocations: 308.3 kB / 0.6511 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.589e-05/0.261, allocations: 62.25 kB / 0.6512 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.492e-05/0.2611, allocations: 45.64 kB / 0.6512 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.2611, allocations: 5.281 kB / 0.6512 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.372e-05/0.2611, allocations: 33.3 kB / 0.6513 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=6): time 9.01e-07/0.2611, allocations: 1.062 kB / 0.6513 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6): time 0.000277/0.2614, allocations: 168.4 kB / 0.6514 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.984e-05/0.2614, allocations: 57.75 kB / 0.6515 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.535e-05/0.2615, allocations: 140.9 kB / 0.6516 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.208e-06/0.2615, allocations: 31.48 kB / 0.6517 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.923e-05/0.2615, allocations: 108.2 kB / 0.6518 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.2615, allocations: 19.3 kB / 0.6518 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/0.2616, allocations: 22.16 kB / 0.6518 GB, free: 55 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.407e-05/0.2616, allocations: 319.7 kB / 0.6521 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.787e-05/0.2617, allocations: 38.05 kB / 0.6521 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.582e-05/0.2617, allocations: 39.05 kB / 0.6522 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.2618, allocations: 94.25 kB / 0.6523 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2618, allocations: 0 / 0.6523 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001437/0.262, allocations: 131.2 kB / 0.6524 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.262, allocations: 5.625 kB / 0.6524 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.262, allocations: 0.6094 kB / 0.6524 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.262, allocations: 2.188 kB / 0.6524 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.892e-05/0.2621, allocations: 18.12 kB / 0.6524 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.2621, allocations: 5.562 kB / 0.6524 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.06e-05/0.2621, allocations: 8.969 kB / 0.6524 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.2621, allocations: 3.078 kB / 0.6524 GB, free: 54.64 MB / 0.5573 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.506e-05/0.2622, allocations: 122.9 kB / 0.6526 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.582e-05/0.2622, allocations: 12.67 kB / 0.6526 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001955/0.2624, allocations: 151.2 kB / 0.6527 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2624, allocations: 0 / 0.6527 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2624, allocations: 6.125 kB / 0.6527 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.2624, allocations: 1.219 kB / 0.6527 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.402e-05/0.2625, allocations: 139.8 kB / 0.6528 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.2625, allocations: 0.5312 kB / 0.6528 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.357e-05/0.2625, allocations: 21.47 kB / 0.6529 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2625, allocations: 0.5156 kB / 0.6529 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.525e-06/0.2625, allocations: 6.969 kB / 0.6529 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.2625, allocations: 0 / 0.6529 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2625, allocations: 0 / 0.6529 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.2627, allocations: 230.2 kB / 0.6531 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-06/0.2627, allocations: 13.23 kB / 0.6531 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.2627, allocations: 2.984 kB / 0.6531 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.508e-05/0.2628, allocations: 8.531 kB / 0.6531 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.2628, allocations: 5.969 kB / 0.6531 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.2628, allocations: 10.64 kB / 0.6531 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.294e-05/0.2628, allocations: 107.9 kB / 0.6532 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2628, allocations: 0 / 0.6532 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001543/0.263, allocations: 18.83 kB / 0.6533 GB, free: 54.12 MB / 0.5573 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.0001028/0.2631, allocations: 100.8 kB / 0.6534 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001604/0.2633, allocations: 97.17 kB / 0.6534 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.2633, allocations: 0 / 0.6534 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 6.949e-05/0.2633, allocations: 51.36 kB / 0.6535 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.2635, allocations: 6.25 kB / 0.6535 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003121/0.2638, allocations: 258.9 kB / 0.6537 GB, free: 53.85 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.835e-05/0.2638, allocations: 92.05 kB / 0.6538 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.226e-05/0.2639, allocations: 16.03 kB / 0.6539 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of SimCode: time 6.92e-07/0.2639, allocations: 0 / 0.6539 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of Templates: time 0.002107/0.266, allocations: 1.226 MB / 0.655 GB, free: 53.7 MB / 0.5573 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.2837346913293] Failed to read output from testmodel.py, exit status != 0: 0.2710323091596365 0.27848454300000003 0.017308289 Calling exit ...