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.001199/0.001199, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001178/0.001179, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.231/1.231, allocations: 222.9 MB / 241 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.002049/0.002049, allocations: 281.2 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8906/0.8906, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 91.86 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3593, allocations: 86.98 MB / 0.7671 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.002642/0.362, allocations: 1.593 MB / 0.7686 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007981/0.3628, allocations: 0.5014 MB / 0.7691 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.599e-05/0.3629, allocations: 3.938 kB / 0.7691 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.685e-05/0.363, allocations: 15.86 kB / 0.7691 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.676e-05/0.363, allocations: 11.88 kB / 0.7691 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.3633, allocations: 43.88 kB / 0.7692 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.3634, allocations: 79.7 kB / 0.7693 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.3635, allocations: 39.88 kB / 0.7693 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.19e-05/0.3636, allocations: 43.84 kB / 0.7693 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.319e-05/0.3637, allocations: 39.83 kB / 0.7694 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.3638, allocations: 8 kB / 0.7694 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.679e-05/0.3638, allocations: 8 kB / 0.7694 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.012e-05/0.3639, allocations: 23.91 kB / 0.7694 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.724e-05/0.3639, allocations: 47.73 kB / 0.7695 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.3641, allocations: 87.64 kB / 0.7695 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3641, allocations: 0 / 0.7695 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3641, allocations: 0 / 0.7695 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.3641, allocations: 0 / 0.7695 GB, free: 1.387 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.0005224/0.3646, allocations: 401.6 kB / 0.7699 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.3647, allocations: 15.97 kB / 0.7699 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.3647, allocations: 8.844 kB / 0.77 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.3649, allocations: 184.2 kB / 0.7701 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.3649, allocations: 12.38 kB / 0.7701 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.3649, allocations: 4.375 kB / 0.7701 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.3652, allocations: 125 kB / 0.7703 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.3652, allocations: 3.938 kB / 0.7703 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.3652, allocations: 0 / 0.7703 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3652, allocations: 0 / 0.7703 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002276/0.3654, allocations: 99.92 kB / 0.7704 GB, free: 476 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000539/0.366, allocations: 380.5 kB / 0.7707 GB, free: 44 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.3662, allocations: 58.55 kB / 0.7708 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.3663, allocations: 48.95 kB / 0.7708 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/0.3663, allocations: 8 kB / 0.7708 GB, free: 15.92 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.3664, allocations: 34.55 kB / 0.7709 GB, free: 15.88 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.3664, allocations: 0 / 0.7709 GB, free: 15.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0004446/0.3668, allocations: 165.5 kB / 0.771 GB, free: 15.71 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.3668, allocations: 51.41 kB / 0.7711 GB, free: 15.64 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.673e-05/0.367, allocations: 144.2 kB / 0.7712 GB, free: 15.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.367, allocations: 25.7 kB / 0.7712 GB, free: 15.46 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/0.367, allocations: 108.1 kB / 0.7713 GB, free: 15.36 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.3671, allocations: 19.66 kB / 0.7714 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.09e-05/0.3671, allocations: 21.7 kB / 0.7714 GB, free: 15.31 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.583e-05/0.3672, allocations: 322.8 kB / 0.7717 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.3673, allocations: 39.97 kB / 0.7717 GB, free: 14.95 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.953e-05/0.3674, allocations: 39.97 kB / 0.7718 GB, free: 14.91 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.3677, allocations: 97.11 kB / 0.7719 GB, free: 14.81 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.3677, allocations: 0 / 0.7719 GB, free: 14.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002651/0.3679, allocations: 117.6 kB / 0.772 GB, free: 14.69 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.368, allocations: 8 kB / 0.772 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.368, allocations: 0 / 0.772 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.368, allocations: 4 kB / 0.772 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.3681, allocations: 19.97 kB / 0.772 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3681, allocations: 3.938 kB / 0.772 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.181e-05/0.3682, allocations: 11.91 kB / 0.772 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.3682, allocations: 4 kB / 0.772 GB, free: 14.64 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.696e-05/0.3683, allocations: 124.2 kB / 0.7721 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/0.3684, allocations: 7.906 kB / 0.7721 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003182/0.3687, allocations: 142.3 kB / 0.7723 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3687, allocations: 0 / 0.7723 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3687, allocations: 3.938 kB / 0.7723 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.366e-05/0.3687, allocations: 89 kB / 0.7724 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.3688, allocations: 11.88 kB / 0.7724 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.3689, allocations: 4 kB / 0.7724 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.3689, allocations: 7.984 kB / 0.7724 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003442/0.3693, allocations: 212.8 kB / 0.7726 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003092/0.3696, allocations: 298.6 kB / 0.7729 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001124/0.3697, allocations: 44.22 kB / 0.7729 GB, free: 13.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.813e-05/0.3698, allocations: 107.2 kB / 0.773 GB, free: 13.55 MB / 0.545 GB Notification: Performance of Backend: time 2.5e-07/0.3698, allocations: 4 kB / 0.773 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004359/0.3702, allocations: 143.9 kB / 0.7732 GB, free: 13.41 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004461/0.3707, allocations: 0.6256 MB / 0.7738 GB, free: 12.73 MB / 0.545 GB Notification: Performance of Templates: time 0.003098/0.3738, allocations: 1.025 MB / 0.7748 GB, free: 11.7 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)