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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4696/0.4696, allocations: 90.92 MB / 99.35 MB, free: 2.129 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 221.5 MB / 343.2 MB, free: 1.566 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008497/0.0008496, allocations: 95.19 kB / 415.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.937e-05/1.939e-05, allocations: 4 kB / 494.5 MB, free: 52.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1291, allocations: 72.32 MB / 0.5535 GB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4286/0.5577, allocations: 101.6 MB / 0.6527 GB, free: 8.699 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.5581, allocations: 75.83 kB / 0.6528 GB, free: 8.66 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004868/0.563, allocations: 1.746 MB / 0.6545 GB, free: 7.141 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.563, allocations: 0 / 0.6545 GB, free: 7.141 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.563, allocations: 0 / 0.6545 GB, free: 7.141 MB / 458.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.000382/0.5634, allocations: 385 kB / 0.6548 GB, free: 6.727 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.5634, allocations: 12.02 kB / 0.6549 GB, free: 6.715 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.5635, allocations: 11.91 kB / 0.6549 GB, free: 6.703 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.5636, allocations: 194 kB / 0.655 GB, free: 6.477 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.5637, allocations: 4 kB / 0.6551 GB, free: 6.473 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.5637, allocations: 3.938 kB / 0.6551 GB, free: 6.469 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001245/0.5638, allocations: 62.84 kB / 0.6551 GB, free: 6.426 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.564, allocations: 86.14 kB / 0.6552 GB, free: 6.352 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.564, allocations: 0 / 0.6552 GB, free: 6.352 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.564, allocations: 3.953 kB / 0.6552 GB, free: 6.348 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.564, allocations: 7.938 kB / 0.6552 GB, free: 6.34 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004885/0.5645, allocations: 351.3 kB / 0.6555 GB, free: 5.988 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.07e-05/0.5646, allocations: 48.75 kB / 0.6556 GB, free: 5.941 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.945e-05/0.5646, allocations: 28.92 kB / 0.6556 GB, free: 5.922 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.5647, allocations: 11.98 kB / 0.6556 GB, free: 5.91 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.5647, allocations: 30.56 kB / 0.6557 GB, free: 5.871 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.5647, allocations: 0 / 0.6557 GB, free: 5.871 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002069/0.5649, allocations: 90.83 kB / 0.6557 GB, free: 5.793 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/0.5649, allocations: 51.41 kB / 0.6558 GB, free: 5.73 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.242e-05/0.565, allocations: 121.2 kB / 0.6559 GB, free: 5.613 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.5651, allocations: 25.7 kB / 0.6559 GB, free: 5.582 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.929e-05/0.5651, allocations: 110.5 kB / 0.656 GB, free: 5.48 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.5651, allocations: 19.22 kB / 0.6561 GB, free: 5.465 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.5652, allocations: 0 / 0.6561 GB, free: 5.465 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.544e-05/0.5653, allocations: 318.2 kB / 0.6564 GB, free: 5.148 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.85e-05/0.5653, allocations: 23.55 kB / 0.6564 GB, free: 5.133 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.361e-05/0.5653, allocations: 26.38 kB / 0.6564 GB, free: 5.117 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.747e-05/0.5654, allocations: 31.53 kB / 0.6564 GB, free: 5.094 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.5654, allocations: 0 / 0.6564 GB, free: 5.094 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001468/0.5656, allocations: 98.78 kB / 0.6565 GB, free: 5.012 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.5656, allocations: 8 kB / 0.6565 GB, free: 5.004 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.5656, allocations: 4 kB / 0.6565 GB, free: 5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.5656, allocations: 0 / 0.6565 GB, free: 5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.5658, allocations: 27.91 kB / 0.6566 GB, free: 4.973 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.5658, allocations: 0 / 0.6566 GB, free: 4.973 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.604e-05/0.5658, allocations: 8 kB / 0.6566 GB, free: 4.965 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.5659, allocations: 7.984 kB / 0.6566 GB, free: 4.957 MB / 458.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.992e-05/0.5659, allocations: 105 kB / 0.6567 GB, free: 4.848 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.566, allocations: 11.86 kB / 0.6567 GB, free: 4.836 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/0.5662, allocations: 118.5 kB / 0.6568 GB, free: 4.738 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.5662, allocations: 0 / 0.6568 GB, free: 4.738 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.5662, allocations: 3.938 kB / 0.6568 GB, free: 4.734 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5662, allocations: 4 kB / 0.6568 GB, free: 4.73 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.5664, allocations: 179.9 kB / 0.657 GB, free: 4.531 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5664, allocations: 4 kB / 0.657 GB, free: 4.527 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.5665, allocations: 23.98 kB / 0.657 GB, free: 4.504 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.5665, allocations: 0 / 0.657 GB, free: 4.504 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-06/0.5665, allocations: 0 / 0.657 GB, free: 4.504 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.5665, allocations: 3.953 kB / 0.657 GB, free: 4.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5665, allocations: 320 / 0.657 GB, free: 4.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.5667, allocations: 206.4 kB / 0.6572 GB, free: 4.305 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.5668, allocations: 81.02 kB / 0.6573 GB, free: 4.207 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.5668, allocations: 4 kB / 0.6573 GB, free: 4.203 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.5669, allocations: 15.98 kB / 0.6573 GB, free: 4.188 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.567, allocations: 7.938 kB / 0.6573 GB, free: 4.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.567, allocations: 4 kB / 0.6573 GB, free: 4.176 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.857e-05/0.567, allocations: 98.98 kB / 0.6574 GB, free: 4.086 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.567, allocations: 0 / 0.6574 GB, free: 4.086 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002085/0.5672, allocations: 20 kB / 0.6574 GB, free: 4.066 MB / 458.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000125/0.5674, allocations: 99.19 kB / 0.6575 GB, free: 3.961 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001285/0.5675, allocations: 79.34 kB / 0.6576 GB, free: 3.902 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.5675, allocations: 0 / 0.6576 GB, free: 3.902 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.854e-05/0.5676, allocations: 37.73 kB / 0.6576 GB, free: 3.875 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.5677, allocations: 3.5 kB / 0.6577 GB, free: 3.875 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002825/0.568, allocations: 135.7 kB / 0.6578 GB, free: 3.734 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.5682, allocations: 0.7041 MB / 0.6585 GB, free: 3.004 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.111e-05/0.5683, allocations: 19.92 kB / 0.6585 GB, free: 2.984 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.703e-05/0.5683, allocations: 11.44 kB / 0.6585 GB, free: 2.973 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5684, allocations: 0 / 0.6585 GB, free: 2.973 MB / 458.7 MB Notification: Performance of Templates: time 0.002101/0.5705, allocations: 0.5614 MB / 0.659 GB, free: 2.426 MB / 458.7 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)