Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") translateModel(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.73/0.73, allocations: 140.1 MB / 156 MB, free: 5.164 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.001027/0.001027, allocations: 179.6 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.4 MB / 426.3 MB, free: 8.457 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007951/0.0007951, allocations: 86.28 kB / 0.4945 GB, free: 8.395 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001599/0.001599, allocations: 269.5 kB / 0.5729 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005032/0.0005033, allocations: 20 kB / 0.662 GB, free: 6.797 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.319, allocations: 79.3 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1245/0.4436, allocations: 108 MB / 0.8449 GB, free: 2.246 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/0.4438, allocations: 79.95 kB / 0.845 GB, free: 2.168 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.004832/0.4486, allocations: 1.696 MB / 0.8466 GB, free: 476 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.052e-06/0.4487, allocations: 0 / 0.8466 GB, free: 476 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.809e-06/0.4487, allocations: 4 kB / 0.8466 GB, free: 472 kB / 0.5105 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.0004386/0.4491, allocations: 399.1 kB / 0.847 GB, free: 20 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.4492, allocations: 15.97 kB / 0.847 GB, free: 4 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.737e-05/0.4492, allocations: 13.02 kB / 0.847 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.4495, allocations: 209.3 kB / 0.8472 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.4495, allocations: 4.375 kB / 0.8472 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.4495, allocations: 4.375 kB / 0.8472 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.4498, allocations: 110.1 kB / 0.8473 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.4498, allocations: 192 / 0.8474 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.4498, allocations: 15.94 kB / 0.8474 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.4498, allocations: 0 / 0.8474 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002377/0.4501, allocations: 99.92 kB / 0.8475 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005838/0.4507, allocations: 388.5 kB / 0.8478 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.4508, allocations: 66.55 kB / 0.8479 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.4509, allocations: 56.89 kB / 0.8479 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.647e-05/0.451, allocations: 3.984 kB / 0.848 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.451, allocations: 42.56 kB / 0.848 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.451, allocations: 4 kB / 0.848 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0004679/0.4515, allocations: 173.5 kB / 0.8482 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.4516, allocations: 55.41 kB / 0.8482 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.4517, allocations: 134.9 kB / 0.8483 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.4517, allocations: 33.7 kB / 0.8484 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.67e-05/0.4518, allocations: 100 kB / 0.8485 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.4518, allocations: 19.8 kB / 0.8485 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/0.4518, allocations: 4 kB / 0.8485 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.452, allocations: 318.8 kB / 0.8488 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.4521, allocations: 51.91 kB / 0.8488 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.81e-05/0.4522, allocations: 39.97 kB / 0.8489 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.4524, allocations: 100.8 kB / 0.849 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4524, allocations: 0 / 0.849 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002742/0.4527, allocations: 133.5 kB / 0.8491 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.4527, allocations: 4 kB / 0.8491 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.4527, allocations: 7.922 kB / 0.8491 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.4528, allocations: 0 / 0.8491 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.4529, allocations: 31.91 kB / 0.8492 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.4529, allocations: 7.938 kB / 0.8492 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.613e-05/0.453, allocations: 8 kB / 0.8492 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.453, allocations: 11.98 kB / 0.8492 GB, free: 13.62 MB / 0.5261 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.411e-05/0.4531, allocations: 113.8 kB / 0.8493 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.4532, allocations: 7.906 kB / 0.8493 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003485/0.4535, allocations: 154.3 kB / 0.8494 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.4535, allocations: 3.984 kB / 0.8494 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4536, allocations: 3.938 kB / 0.8494 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4536, allocations: 0 / 0.8494 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.4538, allocations: 197.6 kB / 0.8496 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4538, allocations: 0 / 0.8496 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.4539, allocations: 28.41 kB / 0.8497 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4539, allocations: 3.984 kB / 0.8497 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.4539, allocations: 4 kB / 0.8497 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.4539, allocations: 12 kB / 0.8497 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.4539, allocations: 3.938 kB / 0.8497 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003013/0.4542, allocations: 227.4 kB / 0.8499 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.4543, allocations: 84.95 kB / 0.85 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.4543, allocations: 8 kB / 0.85 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.485e-05/0.4544, allocations: 15.92 kB / 0.85 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.4545, allocations: 7.922 kB / 0.85 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.4545, allocations: 4 kB / 0.85 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.997e-05/0.4546, allocations: 105.5 kB / 0.8501 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.703e-06/0.4546, allocations: 0 / 0.8501 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002252/0.4548, allocations: 23.84 kB / 0.8501 GB, free: 12.54 MB / 0.5261 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.0001508/0.455, allocations: 103.2 kB / 0.8502 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002876/0.4553, allocations: 103.9 kB / 0.8503 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4553, allocations: 10.16 kB / 0.8503 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.4554, allocations: 59.91 kB / 0.8504 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.4556, allocations: 3.938 kB / 0.8504 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004837/0.4561, allocations: 245.1 kB / 0.8506 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.4564, allocations: 0.7004 MB / 0.8513 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.639e-05/0.4565, allocations: 15.98 kB / 0.8513 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.4565, allocations: 15.42 kB / 0.8514 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of SimCode: time 3.21e-07/0.4565, allocations: 0 / 0.8514 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of Templates: time 0.002527/0.4591, allocations: 0.5984 MB / 0.8519 GB, free: 10.64 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)