Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions") translateModel(IBPSA.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001024/0.001024, allocations: 88.86 kB / 16.67 MB, free: 6.594 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.001333/0.001333, allocations: 182 kB / 17.58 MB, free: 6.188 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.448/1.448, allocations: 223.3 MB / 241.6 MB, free: 14.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.711/0.711, allocations: 115.5 MB / 408.2 MB, free: 7.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003444, allocations: 8 kB / 496.5 MB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3784, allocations: 77.51 MB / 0.5606 GB, free: 35.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.001444/0.3799, allocations: 1.313 MB / 0.5619 GB, free: 34.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006917/0.3806, allocations: 499.7 kB / 0.5623 GB, free: 34.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.998e-05/0.3806, allocations: 1.688 kB / 0.5623 GB, free: 34.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.35e-05/0.3807, allocations: 15.23 kB / 0.5624 GB, free: 34.26 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.574e-05/0.3808, allocations: 13.81 kB / 0.5624 GB, free: 34.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.381, allocations: 33.59 kB / 0.5624 GB, free: 34.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.596e-05/0.3811, allocations: 74.39 kB / 0.5625 GB, free: 34.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.3812, allocations: 39.72 kB / 0.5625 GB, free: 34.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.292e-05/0.3813, allocations: 25.22 kB / 0.5625 GB, free: 34.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.136e-05/0.3814, allocations: 32.78 kB / 0.5626 GB, free: 34.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.3814, allocations: 2.188 kB / 0.5626 GB, free: 34.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.905e-05/0.3815, allocations: 14.34 kB / 0.5626 GB, free: 34.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.274e-05/0.3815, allocations: 14.58 kB / 0.5626 GB, free: 34.15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.857e-05/0.3815, allocations: 58.25 kB / 0.5626 GB, free: 34.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.311e-05/0.3816, allocations: 54.77 kB / 0.5627 GB, free: 34.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3817, allocations: 9.219 kB / 0.5627 GB, free: 34.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3817, allocations: 0 / 0.5627 GB, free: 34.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.3817, allocations: 0.5938 kB / 0.5627 GB, free: 34.08 MB / 446.1 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.0004211/0.3821, allocations: 391.4 kB / 0.5631 GB, free: 33.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.3821, allocations: 13.72 kB / 0.5631 GB, free: 33.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.238e-05/0.3822, allocations: 9.844 kB / 0.5631 GB, free: 33.69 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.3823, allocations: 195.9 kB / 0.5633 GB, free: 33.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.3823, allocations: 7.469 kB / 0.5633 GB, free: 33.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.3823, allocations: 4.688 kB / 0.5633 GB, free: 33.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.3826, allocations: 113.3 kB / 0.5634 GB, free: 33.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.3826, allocations: 0 / 0.5634 GB, free: 33.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.3826, allocations: 6.094 kB / 0.5634 GB, free: 33.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.3826, allocations: 0.9375 kB / 0.5634 GB, free: 33.42 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002458/0.3829, allocations: 115.7 kB / 0.5635 GB, free: 33.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005121/0.3834, allocations: 385.8 kB / 0.5639 GB, free: 33.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.3836, allocations: 71.03 kB / 0.564 GB, free: 33.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.3837, allocations: 53.72 kB / 0.564 GB, free: 33.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.597e-05/0.3837, allocations: 7.203 kB / 0.564 GB, free: 33.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.3838, allocations: 33.8 kB / 0.5641 GB, free: 32.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.3838, allocations: 0 / 0.5641 GB, free: 32.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.000463/0.3842, allocations: 183.1 kB / 0.5642 GB, free: 32.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.175e-05/0.3843, allocations: 53.31 kB / 0.5643 GB, free: 32.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.296e-05/0.3843, allocations: 141.4 kB / 0.5644 GB, free: 32.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.3844, allocations: 31.45 kB / 0.5644 GB, free: 32.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.369e-05/0.3844, allocations: 104.2 kB / 0.5645 GB, free: 32.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.3844, allocations: 23.69 kB / 0.5646 GB, free: 32.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.349e-05/0.3845, allocations: 13.73 kB / 0.5646 GB, free: 32.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.87e-05/0.3845, allocations: 323.9 kB / 0.5649 GB, free: 32.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.3846, allocations: 45.58 kB / 0.5649 GB, free: 32.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.3848, allocations: 45.61 kB / 0.565 GB, free: 32.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.385, allocations: 106.7 kB / 0.5651 GB, free: 32.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.385, allocations: 0 / 0.5651 GB, free: 32.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002806/0.3853, allocations: 137.5 kB / 0.5652 GB, free: 32.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3853, allocations: 5.766 kB / 0.5652 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.3853, allocations: 2.062 kB / 0.5652 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.3854, allocations: 3.938 kB / 0.5652 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.3855, allocations: 29.44 kB / 0.5652 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3855, allocations: 2 kB / 0.5652 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.637e-05/0.3856, allocations: 12.36 kB / 0.5653 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.3856, allocations: 3.984 kB / 0.5653 GB, free: 32.14 MB / 446.1 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 6.153e-05/0.3857, allocations: 117.1 kB / 0.5654 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.3857, allocations: 8.406 kB / 0.5654 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003435/0.3861, allocations: 159.3 kB / 0.5655 GB, free: 31.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.3861, allocations: 6.312 kB / 0.5655 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3861, allocations: 0.5625 kB / 0.5655 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3861, allocations: 1.844 kB / 0.5655 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.3863, allocations: 200.3 kB / 0.5657 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3863, allocations: 0 / 0.5657 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.3864, allocations: 22.94 kB / 0.5658 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3864, allocations: 1 kB / 0.5658 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.3864, allocations: 2.453 kB / 0.5658 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3864, allocations: 3.938 kB / 0.5658 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3864, allocations: 0.5 kB / 0.5658 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.3867, allocations: 236.5 kB / 0.566 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.059e-05/0.3868, allocations: 83.58 kB / 0.5661 GB, free: 31.49 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.3868, allocations: 6.375 kB / 0.5661 GB, free: 31.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.3869, allocations: 18.8 kB / 0.5661 GB, free: 31.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.387, allocations: 9.844 kB / 0.5661 GB, free: 31.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.387, allocations: 5.641 kB / 0.5661 GB, free: 31.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.678e-05/0.387, allocations: 107.7 kB / 0.5662 GB, free: 31.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.387, allocations: 0.9688 kB / 0.5662 GB, free: 31.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002375/0.3873, allocations: 17.75 kB / 0.5662 GB, free: 31.39 MB / 446.1 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.0001172/0.3874, allocations: 103.5 kB / 0.5663 GB, free: 31.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003008/0.3877, allocations: 110.4 kB / 0.5664 GB, free: 31.28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3877, allocations: 0.5938 kB / 0.5664 GB, free: 31.28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.3879, allocations: 61.75 kB / 0.5665 GB, free: 31.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.3881, allocations: 9.688 kB / 0.5665 GB, free: 31.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003875/0.3885, allocations: 282.3 kB / 0.5668 GB, free: 31.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.3886, allocations: 0.7028 MB / 0.5675 GB, free: 30.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.816e-05/0.3887, allocations: 17.36 kB / 0.5675 GB, free: 30.33 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3887, allocations: 0.6875 kB / 0.5675 GB, free: 30.33 MB / 446.1 MB Notification: Performance of Templates: time 0.002673/0.3913, allocations: 1.1 MB / 0.5685 GB, free: 30.29 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)