Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0009249/0.0009248, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.0009987/0.0009988, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.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: 223.2 MB / 239.9 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9853/0.9853, allocations: 143.3 MB / 434.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003125/0.0003126, allocations: 8 kB / 0.5158 GB, free: 11.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.156, allocations: 83.4 MB / 0.5973 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.001646/0.1577, allocations: 1.284 MB / 0.5985 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007562/0.1584, allocations: 476.1 kB / 0.599 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.946e-05/0.1585, allocations: 4 kB / 0.599 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.187e-05/0.1586, allocations: 11.92 kB / 0.599 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.654e-05/0.1586, allocations: 15.91 kB / 0.599 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.1588, allocations: 27.95 kB / 0.599 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.1589, allocations: 51.88 kB / 0.5991 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.1591, allocations: 28.22 kB / 0.5991 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.897e-05/0.1592, allocations: 27.91 kB / 0.5991 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.069e-05/0.1592, allocations: 27.86 kB / 0.5992 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.1593, allocations: 3.938 kB / 0.5992 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.426e-05/0.1593, allocations: 15.98 kB / 0.5992 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.936e-05/0.1594, allocations: 19.91 kB / 0.5992 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.1594, allocations: 37.64 kB / 0.5992 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.1595, allocations: 56.17 kB / 0.5993 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.1595, allocations: 0 / 0.5993 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1595, allocations: 0 / 0.5993 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.1595, allocations: 0 / 0.5993 GB, free: 5.746 MB / 0.4981 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.00048/0.16, allocations: 395 kB / 0.5997 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.1601, allocations: 12.02 kB / 0.5997 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.1601, allocations: 7.906 kB / 0.5997 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.1603, allocations: 194.8 kB / 0.5999 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1603, allocations: 8 kB / 0.5999 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.1603, allocations: 4 kB / 0.5999 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.1606, allocations: 117.5 kB / 0.6 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.1606, allocations: 4 kB / 0.6 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.1606, allocations: 0 / 0.6 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1606, allocations: 11.94 kB / 0.6 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002433/0.1609, allocations: 107.9 kB / 0.6001 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005637/0.1614, allocations: 388.5 kB / 0.6005 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.1616, allocations: 62.55 kB / 0.6005 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/0.1617, allocations: 7.984 kB / 0.6006 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.1617, allocations: 34.52 kB / 0.6006 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.1617, allocations: 0 / 0.6006 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0004592/0.1622, allocations: 189.6 kB / 0.6008 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.1622, allocations: 55.41 kB / 0.6008 GB, free: 4 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.713e-05/0.1623, allocations: 127.9 kB / 0.6009 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.1623, allocations: 33.7 kB / 0.601 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.1624, allocations: 108.2 kB / 0.6011 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.1624, allocations: 19.8 kB / 0.6011 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-06/0.1624, allocations: 0 / 0.6011 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1626, allocations: 326.8 kB / 0.6014 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.1627, allocations: 43.97 kB / 0.6015 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.996e-05/0.1628, allocations: 47.97 kB / 0.6015 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.1629, allocations: 43.97 kB / 0.6015 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1629, allocations: 0 / 0.6015 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002752/0.1632, allocations: 145.5 kB / 0.6017 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1632, allocations: 4 kB / 0.6017 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.1632, allocations: 3.953 kB / 0.6017 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1632, allocations: 4 kB / 0.6017 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.1634, allocations: 15.98 kB / 0.6017 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1634, allocations: 8 kB / 0.6017 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.457e-05/0.1635, allocations: 15.98 kB / 0.6017 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.1635, allocations: 0 / 0.6017 GB, free: 3.039 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.317e-05/0.1636, allocations: 120.1 kB / 0.6018 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.1636, allocations: 7.906 kB / 0.6019 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003356/0.164, allocations: 166.2 kB / 0.602 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.164, allocations: 3.953 kB / 0.602 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.164, allocations: 0 / 0.602 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.164, allocations: 0 / 0.602 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.1642, allocations: 201.5 kB / 0.6022 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1642, allocations: 0.5 kB / 0.6022 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.1643, allocations: 27.97 kB / 0.6022 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.1643, allocations: 7.938 kB / 0.6022 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1643, allocations: 4 kB / 0.6022 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1644, allocations: 0 / 0.6022 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1644, allocations: 3.953 kB / 0.6022 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.1647, allocations: 239.3 kB / 0.6025 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.849e-05/0.1647, allocations: 88.95 kB / 0.6026 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.1647, allocations: 0 / 0.6026 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.1649, allocations: 11.98 kB / 0.6026 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.1649, allocations: 15.94 kB / 0.6026 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.1649, allocations: 4 kB / 0.6026 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.152e-05/0.165, allocations: 101.1 kB / 0.6027 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.165, allocations: 0 / 0.6027 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002382/0.1652, allocations: 16 kB / 0.6027 GB, free: 1.941 MB / 0.4981 GB 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 (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.0001293/0.1654, allocations: 99.23 kB / 0.6028 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002748/0.1657, allocations: 115.9 kB / 0.6029 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1657, allocations: 0 / 0.6029 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.1658, allocations: 55.97 kB / 0.603 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.166, allocations: 7.938 kB / 0.603 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003927/0.1664, allocations: 237.1 kB / 0.6032 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.1666, allocations: 0.7121 MB / 0.6039 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.396e-05/0.1667, allocations: 15.97 kB / 0.6039 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.924e-05/0.1668, allocations: 11.44 kB / 0.6039 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of SimCode: time 1.372e-06/0.1668, allocations: 0 / 0.6039 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of Templates: time 0.002654/0.1694, allocations: 0.6032 MB / 0.6045 GB, free: 40 kB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) Environment - environmentSimulation: