Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7677/0.7677, allocations: 140.1 MB / 156 MB, free: 5.18 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.001017/0.001017, allocations: 172.3 kB / 188.5 MB, free: 15.84 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.437/1.437, allocations: 205.4 MB / 426.3 MB, free: 8.473 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.000851/0.0008512, allocations: 86.36 kB / 0.4945 GB, free: 8.426 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001635/0.001635, allocations: 273.4 kB / 0.5729 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004468/0.0004469, allocations: 16 kB / 0.662 GB, free: 6.828 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3263, allocations: 79.29 MB / 0.7395 GB, free: 46.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1224/0.4488, allocations: 107.3 MB / 0.8443 GB, free: 2.891 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.4491, allocations: 71.97 kB / 0.8443 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.004525/0.4536, allocations: 1.576 MB / 0.8459 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.284e-06/0.4536, allocations: 0 / 0.8459 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.4536, allocations: 3.938 kB / 0.8459 GB, free: 1.238 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000385/0.454, allocations: 363.5 kB / 0.8462 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.4541, allocations: 8.031 kB / 0.8462 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.757e-05/0.4541, allocations: 4.844 kB / 0.8462 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.4542, allocations: 172.3 kB / 0.8464 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.4542, allocations: 384 / 0.8464 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.4543, allocations: 384 / 0.8464 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.4544, allocations: 58.23 kB / 0.8465 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.4545, allocations: 192 / 0.8465 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.4545, allocations: 3.938 kB / 0.8465 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.4545, allocations: 0 / 0.8465 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.4546, allocations: 47.95 kB / 0.8465 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000395/0.455, allocations: 261 kB / 0.8468 GB, free: 200 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.4552, allocations: 54.42 kB / 0.8468 GB, free: 136 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.082e-05/0.4553, allocations: 24.91 kB / 0.8468 GB, free: 108 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005604/0.4558, allocations: 445.5 kB / 0.8473 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.4559, allocations: 40.72 kB / 0.8473 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.4559, allocations: 0 / 0.8473 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0003317/0.4562, allocations: 105.6 kB / 0.8474 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.4563, allocations: 51.41 kB / 0.8475 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.213e-05/0.4563, allocations: 101.8 kB / 0.8476 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.4563, allocations: 25.7 kB / 0.8476 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/0.4564, allocations: 84.14 kB / 0.8477 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.422e-05/0.4564, allocations: 3.906 kB / 0.8477 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-06/0.4564, allocations: 0 / 0.8477 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.655e-05/0.4565, allocations: 314.8 kB / 0.848 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.698e-05/0.4566, allocations: 28 kB / 0.848 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.655e-05/0.4567, allocations: 19.98 kB / 0.848 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.4568, allocations: 48.89 kB / 0.8481 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4568, allocations: 0 / 0.8481 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001862/0.457, allocations: 85.53 kB / 0.8481 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.4571, allocations: 11.97 kB / 0.8481 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.4571, allocations: 4 kB / 0.8481 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.4571, allocations: 0 / 0.8481 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.99e-05/0.4572, allocations: 11.98 kB / 0.8482 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.4572, allocations: 0 / 0.8482 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.698e-05/0.4572, allocations: 11.98 kB / 0.8482 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.4572, allocations: 0 / 0.8482 GB, free: 14.59 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 (2): * Single equations (assignments): 2 * 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 6.758e-05/0.4573, allocations: 117.8 kB / 0.8483 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.105e-05/0.4573, allocations: 4.188 kB / 0.8483 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.4576, allocations: 84.7 kB / 0.8484 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4576, allocations: 0 / 0.8484 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.4576, allocations: 7.969 kB / 0.8484 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.4576, allocations: 0 / 0.8484 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.4577, allocations: 161.6 kB / 0.8485 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.4578, allocations: 0 / 0.8485 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.444e-05/0.4578, allocations: 8 kB / 0.8485 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.4578, allocations: 0 / 0.8485 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.4578, allocations: 7.984 kB / 0.8485 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4578, allocations: 0 / 0.8485 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4578, allocations: 0 / 0.8485 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.4581, allocations: 175.5 kB / 0.8487 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.132e-05/0.4581, allocations: 81.02 kB / 0.8488 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.4581, allocations: 0 / 0.8488 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.011e-05/0.4582, allocations: 12.03 kB / 0.8488 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.4583, allocations: 3.984 kB / 0.8488 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.4583, allocations: 4 kB / 0.8488 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.378e-05/0.4583, allocations: 83.22 kB / 0.8489 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4583, allocations: 0 / 0.8489 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002371/0.4585, allocations: 31.92 kB / 0.8489 GB, free: 13.72 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 (2): * Single equations (assignments): 2 * 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.0002121/0.4588, allocations: 139.1 kB / 0.8491 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002243/0.459, allocations: 43.97 kB / 0.8491 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.459, allocations: 0 / 0.8491 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.029e-05/0.4591, allocations: 23.98 kB / 0.8491 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.4594, allocations: 11.92 kB / 0.8491 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002386/0.4596, allocations: 100.7 kB / 0.8492 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.4599, allocations: 0.6849 MB / 0.8499 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.162e-05/0.4599, allocations: 0 / 0.8499 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.542e-05/0.4599, allocations: 7.438 kB / 0.8499 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of SimCode: time 2.2e-07/0.4599, allocations: 0 / 0.8499 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of Templates: time 0.002251/0.4622, allocations: 0.5695 MB / 0.8505 GB, free: 12.09 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1)