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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") translateModel(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 115.2 kB / 16.42 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 183.9 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.248/1.248, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002016/0.002016, allocations: 297.9 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9055/0.9055, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 95.86 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3645, allocations: 86.97 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.002465/0.367, allocations: 1.593 MB / 0.7686 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000807/0.3678, allocations: 0.5052 MB / 0.7691 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.331e-05/0.3679, allocations: 0 / 0.7691 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.005e-05/0.368, allocations: 11.88 kB / 0.7691 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.498e-05/0.368, allocations: 19.86 kB / 0.7691 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.3682, allocations: 35.89 kB / 0.7692 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.3684, allocations: 87.69 kB / 0.7693 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.3685, allocations: 39.88 kB / 0.7693 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.679e-05/0.3686, allocations: 35.86 kB / 0.7693 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.751e-05/0.3687, allocations: 47.81 kB / 0.7694 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.3687, allocations: 4 kB / 0.7694 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.219e-05/0.3688, allocations: 15.94 kB / 0.7694 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.928e-05/0.3688, allocations: 19.92 kB / 0.7694 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.427e-05/0.3689, allocations: 43.73 kB / 0.7695 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.369, allocations: 87.7 kB / 0.7695 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.369, allocations: 0 / 0.7695 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.122e-06/0.369, allocations: 3.938 kB / 0.7695 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.3691, allocations: 0 / 0.7695 GB, free: 1.344 MB / 0.5294 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.0004932/0.3695, allocations: 401.6 kB / 0.7699 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.3696, allocations: 12.03 kB / 0.7699 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.3696, allocations: 8.844 kB / 0.7699 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.3698, allocations: 192.1 kB / 0.7701 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.3698, allocations: 12.38 kB / 0.7701 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.3698, allocations: 8.359 kB / 0.7701 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.3701, allocations: 105.9 kB / 0.7702 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.3701, allocations: 3.938 kB / 0.7703 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.3701, allocations: 8 kB / 0.7703 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.3701, allocations: 0 / 0.7703 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.3704, allocations: 95.92 kB / 0.7704 GB, free: 436 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005437/0.3709, allocations: 376.5 kB / 0.7707 GB, free: 8 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.3711, allocations: 62.55 kB / 0.7708 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.3712, allocations: 48.94 kB / 0.7708 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.3712, allocations: 19.91 kB / 0.7708 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.3713, allocations: 34.56 kB / 0.7709 GB, free: 15.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.3713, allocations: 0 / 0.7709 GB, free: 15.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0004344/0.3717, allocations: 157.5 kB / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.3718, allocations: 55.41 kB / 0.7711 GB, free: 15.6 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.816e-05/0.3719, allocations: 140.3 kB / 0.7712 GB, free: 15.45 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.3719, allocations: 29.7 kB / 0.7712 GB, free: 15.42 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.446e-05/0.3719, allocations: 104.1 kB / 0.7713 GB, free: 15.31 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.372, allocations: 27.64 kB / 0.7714 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.372, allocations: 17.72 kB / 0.7714 GB, free: 15.26 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.719e-05/0.3721, allocations: 322.8 kB / 0.7717 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.3722, allocations: 35.97 kB / 0.7717 GB, free: 14.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.3723, allocations: 44.16 kB / 0.7718 GB, free: 14.86 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.3726, allocations: 96.92 kB / 0.7719 GB, free: 14.76 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3726, allocations: 0 / 0.7719 GB, free: 14.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000255/0.3728, allocations: 117.6 kB / 0.772 GB, free: 14.64 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.3729, allocations: 4 kB / 0.772 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.3729, allocations: 4 kB / 0.772 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.3729, allocations: 0 / 0.772 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.373, allocations: 23.97 kB / 0.772 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.373, allocations: 3.938 kB / 0.772 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.189e-05/0.3731, allocations: 11.84 kB / 0.772 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.3731, allocations: 7.984 kB / 0.772 GB, free: 14.59 MB / 0.545 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.55e-05/0.3732, allocations: 117.8 kB / 0.7721 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.3733, allocations: 7.906 kB / 0.7721 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003269/0.3736, allocations: 142.3 kB / 0.7723 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3736, allocations: 7.922 kB / 0.7723 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3736, allocations: 3.938 kB / 0.7723 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.673e-05/0.3737, allocations: 85.02 kB / 0.7724 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.3737, allocations: 3.938 kB / 0.7724 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.3738, allocations: 8 kB / 0.7724 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.3738, allocations: 7.984 kB / 0.7724 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003404/0.3742, allocations: 208.8 kB / 0.7726 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003197/0.3745, allocations: 302.9 kB / 0.7729 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001157/0.3746, allocations: 47.97 kB / 0.7729 GB, free: 13.61 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.431e-05/0.3747, allocations: 110.4 kB / 0.773 GB, free: 13.5 MB / 0.545 GB Notification: Performance of Backend: time 1.512e-06/0.3747, allocations: 0 / 0.773 GB, free: 13.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004511/0.3752, allocations: 134.3 kB / 0.7732 GB, free: 13.36 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004513/0.3756, allocations: 0.6295 MB / 0.7738 GB, free: 12.68 MB / 0.545 GB Notification: Performance of Templates: time 0.003104/0.3787, allocations: 1.036 MB / 0.7748 GB, free: 11.65 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.makefile (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)