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.5.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.5.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8635/0.8635, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001476/0.001476, allocations: 180.8 kB / 169.7 MB, free: 1.73 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.744/1.744, allocations: 205.1 MB / 404.5 MB, free: 1.66 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.0008943/0.0008942, allocations: 91.56 kB / 481.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.441e-05/5.444e-05, allocations: 4 kB / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1685, allocations: 76.76 MB / 0.6282 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5383/0.7068, allocations: 103.3 MB / 0.7291 GB, free: 10.03 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000325/0.7072, allocations: 75.14 kB / 0.7291 GB, free: 9.988 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005425/0.7126, allocations: 1.711 MB / 0.7308 GB, free: 8.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.7126, allocations: 2.297 kB / 0.7308 GB, free: 8.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.7127, allocations: 0 / 0.7308 GB, free: 8.48 MB / 490.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.0005219/0.7132, allocations: 390.3 kB / 0.7312 GB, free: 8.059 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.7133, allocations: 8.031 kB / 0.7312 GB, free: 8.051 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/0.7133, allocations: 15.86 kB / 0.7312 GB, free: 8.035 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.7136, allocations: 201.9 kB / 0.7314 GB, free: 7.805 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.7136, allocations: 4 kB / 0.7314 GB, free: 7.801 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.7136, allocations: 7 kB / 0.7314 GB, free: 7.797 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.7138, allocations: 94.47 kB / 0.7315 GB, free: 7.719 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.7138, allocations: 3.938 kB / 0.7315 GB, free: 7.715 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.7139, allocations: 3.438 kB / 0.7315 GB, free: 7.715 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.7139, allocations: 3.953 kB / 0.7315 GB, free: 7.711 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.714, allocations: 66.59 kB / 0.7316 GB, free: 7.664 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006014/0.7146, allocations: 388.2 kB / 0.7319 GB, free: 7.27 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.173e-05/0.7147, allocations: 49.06 kB / 0.732 GB, free: 7.223 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.699e-05/0.7148, allocations: 30.42 kB / 0.732 GB, free: 7.199 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.772e-05/0.7148, allocations: 2.688 kB / 0.732 GB, free: 7.199 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.7149, allocations: 38.55 kB / 0.732 GB, free: 7.152 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.7149, allocations: 0 / 0.732 GB, free: 7.152 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002254/0.7151, allocations: 95.08 kB / 0.7321 GB, free: 7.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.7151, allocations: 55.22 kB / 0.7322 GB, free: 7.008 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.7153, allocations: 124.1 kB / 0.7323 GB, free: 6.887 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.7153, allocations: 25.7 kB / 0.7323 GB, free: 6.855 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.62e-05/0.7154, allocations: 105.5 kB / 0.7324 GB, free: 6.758 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.7154, allocations: 19.23 kB / 0.7325 GB, free: 6.742 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.7154, allocations: 0 / 0.7325 GB, free: 6.742 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.7155, allocations: 322.6 kB / 0.7328 GB, free: 6.422 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.697e-05/0.7156, allocations: 26.17 kB / 0.7328 GB, free: 6.406 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.739e-05/0.7156, allocations: 18.12 kB / 0.7328 GB, free: 6.395 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.497e-05/0.7157, allocations: 34.61 kB / 0.7328 GB, free: 6.371 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7157, allocations: 0 / 0.7328 GB, free: 6.371 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001494/0.7159, allocations: 108.4 kB / 0.7329 GB, free: 6.277 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.7159, allocations: 8 kB / 0.7329 GB, free: 6.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.7159, allocations: 0 / 0.7329 GB, free: 6.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.7159, allocations: 0 / 0.7329 GB, free: 6.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.7161, allocations: 19.98 kB / 0.733 GB, free: 6.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.7161, allocations: 0 / 0.733 GB, free: 6.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.7e-05/0.7162, allocations: 19.89 kB / 0.733 GB, free: 6.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.7162, allocations: 4 kB / 0.733 GB, free: 6.227 MB / 490.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 7.779e-05/0.7163, allocations: 107.7 kB / 0.7331 GB, free: 6.117 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.7163, allocations: 11.86 kB / 0.7331 GB, free: 6.105 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002429/0.7166, allocations: 127.1 kB / 0.7332 GB, free: 6.004 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.7166, allocations: 0 / 0.7332 GB, free: 6.004 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.7166, allocations: 3.984 kB / 0.7332 GB, free: 6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.7166, allocations: 0 / 0.7332 GB, free: 6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.7168, allocations: 198.9 kB / 0.7334 GB, free: 5.773 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.7168, allocations: 4 kB / 0.7334 GB, free: 5.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.7169, allocations: 27.16 kB / 0.7334 GB, free: 5.746 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.7169, allocations: 3.953 kB / 0.7334 GB, free: 5.742 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.717, allocations: 4 kB / 0.7335 GB, free: 5.738 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.717, allocations: 0 / 0.7335 GB, free: 5.738 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.717, allocations: 3.938 kB / 0.7335 GB, free: 5.734 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.7172, allocations: 199.2 kB / 0.7336 GB, free: 5.543 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.92e-05/0.7172, allocations: 81.02 kB / 0.7337 GB, free: 5.445 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.7173, allocations: 7.391 kB / 0.7337 GB, free: 5.441 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.7174, allocations: 11.98 kB / 0.7337 GB, free: 5.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/0.7174, allocations: 4 kB / 0.7337 GB, free: 5.426 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.7174, allocations: 8.172 kB / 0.7338 GB, free: 5.418 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.842e-05/0.7175, allocations: 101 kB / 0.7338 GB, free: 5.328 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7175, allocations: 0 / 0.7338 GB, free: 5.328 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002075/0.7177, allocations: 12 kB / 0.7339 GB, free: 5.316 MB / 490.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.0001429/0.7179, allocations: 111 kB / 0.734 GB, free: 5.195 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001462/0.718, allocations: 78.61 kB / 0.734 GB, free: 5.137 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.718, allocations: 0 / 0.734 GB, free: 5.137 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.014e-05/0.7181, allocations: 38.42 kB / 0.7341 GB, free: 5.109 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.7182, allocations: 8.422 kB / 0.7341 GB, free: 5.105 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003376/0.7186, allocations: 140.9 kB / 0.7342 GB, free: 4.961 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.7189, allocations: 0.7043 MB / 0.7349 GB, free: 4.23 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.653e-05/0.719, allocations: 20.42 kB / 0.7349 GB, free: 4.211 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.719, allocations: 11.44 kB / 0.7349 GB, free: 4.199 MB / 490.7 MB Notification: Performance of SimCode: time 4.01e-07/0.719, allocations: 0 / 0.7349 GB, free: 4.199 MB / 490.7 MB Notification: Performance of Templates: time 0.002575/0.7216, allocations: 0.6155 MB / 0.7355 GB, free: 3.602 MB / 490.7 MB 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)