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.0009733/0.0009733, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.00105/0.00105, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.142/1.142, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.001777/0.001777, allocations: 242.2 kB / 260.5 MB, free: 12.68 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.7465/0.7465, allocations: 138.4 MB / 402.2 MB, free: 0.5391 MB / 362.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.923e-06/1.923e-06, allocations: 0 / 462.4 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.678e-05/2.87e-05, allocations: 3.438 kB / 462.4 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.003427/0.003456, allocations: 1.704 MB / 464.1 MB, free: 15.76 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.004656, allocations: 0.5936 MB / 464.7 MB, free: 15.38 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.675e-05/0.004733, allocations: 5.281 kB / 464.7 MB, free: 15.38 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.004845, allocations: 13.31 kB / 464.7 MB, free: 15.37 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.136e-05/0.004896, allocations: 14.95 kB / 464.7 MB, free: 15.36 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.005226, allocations: 60.52 kB / 464.7 MB, free: 15.33 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.005394, allocations: 95.5 kB / 464.8 MB, free: 15.28 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.005538, allocations: 22.81 kB / 464.9 MB, free: 15.27 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.005743, allocations: 63.88 kB / 464.9 MB, free: 15.25 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.805e-05/0.005831, allocations: 37.11 kB / 465 MB, free: 15.23 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.005854, allocations: 6.594 kB / 465 MB, free: 15.23 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.394e-05/0.005948, allocations: 24.64 kB / 465 MB, free: 15.22 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.345e-05/0.005991, allocations: 22.38 kB / 465 MB, free: 15.21 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.099e-05/0.006032, allocations: 28.86 kB / 465 MB, free: 15.2 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.006203, allocations: 73.05 kB / 465.1 MB, free: 15.16 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.006205, allocations: 2.031 kB / 465.1 MB, free: 15.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.006207, allocations: 0 / 465.1 MB, free: 15.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.006211, allocations: 0.7812 kB / 465.1 MB, free: 15.16 MB / 426.7 MB 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.0004371/0.006648, allocations: 310.9 kB / 465.4 MB, free: 14.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.006686, allocations: 8.969 kB / 465.4 MB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002444/0.00693, allocations: 33.64 kB / 465.5 MB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.007146, allocations: 150.9 kB / 465.6 MB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.007159, allocations: 3.656 kB / 465.6 MB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.007173, allocations: 9.125 kB / 465.6 MB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.007359, allocations: 84.67 kB / 465.7 MB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.00737, allocations: 3.938 kB / 465.7 MB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.007387, allocations: 5.719 kB / 465.7 MB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.007395, allocations: 1.438 kB / 465.7 MB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.429e-05/0.007449, allocations: 18.61 kB / 465.7 MB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00043/0.007879, allocations: 230.6 kB / 466 MB, free: 14.49 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.213e-05/0.007952, allocations: 71.58 kB / 466 MB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.274e-05/0.007984, allocations: 13.27 kB / 466 MB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.008017, allocations: 8.641 kB / 466 MB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.008041, allocations: 32.23 kB / 466.1 MB, free: 14.37 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.492e-06/0.008042, allocations: 1.5 kB / 466.1 MB, free: 14.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001761/0.008218, allocations: 59.11 kB / 466.1 MB, free: 14.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.008249, allocations: 57.42 kB / 466.2 MB, free: 14.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.008359, allocations: 142.1 kB / 466.3 MB, free: 14.15 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.008375, allocations: 28.83 kB / 466.4 MB, free: 14.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.593e-05/0.008421, allocations: 101.2 kB / 466.5 MB, free: 14.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.008452, allocations: 23.39 kB / 466.5 MB, free: 14.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/0.008496, allocations: 17.66 kB / 466.5 MB, free: 13.99 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.008598, allocations: 324.3 kB / 466.8 MB, free: 13.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.195e-05/0.00863, allocations: 15 kB / 466.8 MB, free: 13.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.357e-05/0.008654, allocations: 6.672 kB / 466.8 MB, free: 13.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.833e-05/0.008722, allocations: 32.27 kB / 466.9 MB, free: 13.65 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.008724, allocations: 0.6562 kB / 466.9 MB, free: 13.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001017/0.008826, allocations: 53.89 kB / 466.9 MB, free: 13.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.008841, allocations: 5.625 kB / 466.9 MB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.008847, allocations: 6.531 kB / 466.9 MB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.008859, allocations: 0 / 466.9 MB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.008966, allocations: 16.14 kB / 467 MB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.00897, allocations: 3.125 kB / 467 MB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.502e-05/0.009015, allocations: 20.02 kB / 467 MB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.009032, allocations: 2.328 kB / 467 MB, free: 13.6 MB / 426.7 MB 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.36e-05/0.009106, allocations: 112.6 kB / 467.1 MB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.009136, allocations: 7.219 kB / 467.1 MB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/0.00931, allocations: 74.39 kB / 467.2 MB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.009313, allocations: 6.75 kB / 467.2 MB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.009315, allocations: 0 / 467.2 MB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.009319, allocations: 2.391 kB / 467.2 MB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.009479, allocations: 95.3 kB / 467.3 MB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.009481, allocations: 1.281 kB / 467.3 MB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.169e-05/0.009563, allocations: 17.36 kB / 467.3 MB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/0.009567, allocations: 1.281 kB / 467.3 MB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.009576, allocations: 1.172 kB / 467.3 MB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.009577, allocations: 2.031 kB / 467.3 MB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.009579, allocations: 0.6562 kB / 467.3 MB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.009748, allocations: 202.2 kB / 467.5 MB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.48e-05/0.009763, allocations: 11.67 kB / 467.5 MB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.009778, allocations: 1.391 kB / 467.5 MB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.103e-05/0.009859, allocations: 10.42 kB / 467.5 MB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.009904, allocations: 14.64 kB / 467.5 MB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.009916, allocations: 3.406 kB / 467.5 MB, free: 13.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.958e-05/0.009955, allocations: 30.25 kB / 467.6 MB, free: 13.13 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009955, allocations: 0 / 467.6 MB, free: 13.13 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002458/0.0102, allocations: 25.55 kB / 467.6 MB, free: 13.12 MB / 426.7 MB 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.0001437/0.01034, allocations: 85.22 kB / 467.7 MB, free: 13.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001106/0.01046, allocations: 30.44 kB / 467.7 MB, free: 13.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.01046, allocations: 4 kB / 467.7 MB, free: 13.01 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.371e-05/0.0105, allocations: 24.92 kB / 467.7 MB, free: 12.99 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.0107, allocations: 7.203 kB / 467.7 MB, free: 12.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007183/0.01142, allocations: 204.5 kB / 467.9 MB, free: 12.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.093e-05/0.01148, allocations: 66.11 kB / 468 MB, free: 12.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.976e-05/0.01154, allocations: 7.781 kB / 468 MB, free: 12.69 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.056e-05/0.01161, allocations: 58.28 kB / 468.1 MB, free: 12.64 MB / 426.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01161, allocations: 0 / 468.1 MB, free: 12.64 MB / 426.7 MB Notification: Performance of Templates: time 0.003562/0.01517, allocations: 0.7123 MB / 468.8 MB, free: 12 MB / 426.7 MB " [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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.717947707977146]