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/BuildSysPro 3.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6708/0.6708, allocations: 117.9 MB / 133.9 MB, free: 4.512 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 178 kB / 161.7 MB, free: 2.738 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.994/1.994, allocations: 205.4 MB / 394.8 MB, free: 21.19 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008568/0.0008569, allocations: 104 kB / 470.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007095/0.0007096, allocations: 16 kB / 0.5423 GB, free: 7.191 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3943, allocations: 74.54 MB / 0.6151 GB, free: 54.15 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1746/0.5689, allocations: 102.3 MB / 0.715 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003219/0.5693, allocations: 83.94 kB / 0.7151 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.006543/0.5759, allocations: 1.723 MB / 0.7168 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5759, allocations: 0 / 0.7168 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.206e-05/0.576, allocations: 8 kB / 0.7168 GB, free: 13.89 MB / 0.4948 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.0006084/0.5766, allocations: 399.1 kB / 0.7172 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.671e-05/0.5767, allocations: 8.031 kB / 0.7172 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/0.5767, allocations: 12.78 kB / 0.7172 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.577, allocations: 204.1 kB / 0.7174 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.577, allocations: 4.375 kB / 0.7174 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.5771, allocations: 8.375 kB / 0.7174 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000361/0.5774, allocations: 121.8 kB / 0.7175 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.5775, allocations: 192 / 0.7175 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.5775, allocations: 11.88 kB / 0.7175 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.5775, allocations: 4 kB / 0.7175 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003398/0.5779, allocations: 109.1 kB / 0.7176 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007875/0.5787, allocations: 380.6 kB / 0.718 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.5789, allocations: 62.48 kB / 0.7181 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.5791, allocations: 56.95 kB / 0.7181 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.539e-05/0.5791, allocations: 4 kB / 0.7181 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.5792, allocations: 34.56 kB / 0.7181 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.5792, allocations: 0 / 0.7181 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0007286/0.5799, allocations: 185.4 kB / 0.7183 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.58, allocations: 51.41 kB / 0.7184 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.5802, allocations: 131 kB / 0.7185 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.5802, allocations: 29.7 kB / 0.7185 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.656e-05/0.5803, allocations: 104 kB / 0.7186 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.5803, allocations: 27.78 kB / 0.7187 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-06/0.5803, allocations: 0 / 0.7187 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.5805, allocations: 322.8 kB / 0.719 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.5807, allocations: 39.97 kB / 0.719 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.5809, allocations: 47.97 kB / 0.719 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000366/0.5813, allocations: 92.81 kB / 0.7191 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.5813, allocations: 0 / 0.7191 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004534/0.5817, allocations: 141.9 kB / 0.7193 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.5818, allocations: 4 kB / 0.7193 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.5818, allocations: 0 / 0.7193 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.5818, allocations: 0 / 0.7193 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.5821, allocations: 27.98 kB / 0.7193 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.8e-05/0.5821, allocations: 7.938 kB / 0.7193 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.5822, allocations: 11.98 kB / 0.7193 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/0.5823, allocations: 4 kB / 0.7193 GB, free: 11.09 MB / 0.4948 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 0.0001265/0.5824, allocations: 121.8 kB / 0.7194 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/0.5825, allocations: 7.906 kB / 0.7194 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005753/0.583, allocations: 154.3 kB / 0.7196 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.5831, allocations: 0 / 0.7196 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.5831, allocations: 7.938 kB / 0.7196 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.5831, allocations: 3.984 kB / 0.7196 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003307/0.5834, allocations: 205.5 kB / 0.7198 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5835, allocations: 3.938 kB / 0.7198 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.5836, allocations: 23.97 kB / 0.7198 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.5836, allocations: 0 / 0.7198 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.5837, allocations: 4 kB / 0.7198 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.5837, allocations: 3.938 kB / 0.7198 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.5837, allocations: 3.938 kB / 0.7198 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005009/0.5842, allocations: 235.3 kB / 0.7201 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.005e-05/0.5843, allocations: 81.05 kB / 0.7201 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.191e-05/0.5843, allocations: 4 kB / 0.7201 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.5845, allocations: 15.98 kB / 0.7202 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.554e-05/0.5846, allocations: 7.938 kB / 0.7202 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.5846, allocations: 7.984 kB / 0.7202 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.017e-05/0.5847, allocations: 104.6 kB / 0.7203 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5847, allocations: 0 / 0.7203 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004243/0.5852, allocations: 16 kB / 0.7203 GB, free: 9.996 MB / 0.4948 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.0002057/0.5854, allocations: 107 kB / 0.7204 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004454/0.5858, allocations: 111.9 kB / 0.7205 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5859, allocations: 0 / 0.7205 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002091/0.5861, allocations: 68.16 kB / 0.7206 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.5865, allocations: 0 / 0.7206 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006602/0.5871, allocations: 237.3 kB / 0.7208 GB, free: 9.445 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.5875, allocations: 0.7083 MB / 0.7215 GB, free: 8.711 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001227/0.5877, allocations: 15.92 kB / 0.7215 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.435e-05/0.5877, allocations: 11.44 kB / 0.7215 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of SimCode: time 3.7e-07/0.5877, allocations: 0 / 0.7215 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of Templates: time 0.003923/0.5917, allocations: 0.6077 MB / 0.7221 GB, free: 8.078 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.makefile (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)