Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009632/0.0009632, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 173 kB / 23.5 MB, free: 1.051 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9556/0.9556, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001976/0.001976, allocations: 233.6 kB / 260.5 MB, free: 12.89 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7495/0.7495, allocations: 138.4 MB / 455.4 MB, free: 1.566 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.5551 GB, free: 0.832 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.498e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.001439/0.001463, allocations: 0.6079 MB / 0.5557 GB, free: 224 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003515/0.001815, allocations: 171.4 kB / 0.5558 GB, free: 52 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.987e-05/0.001835, allocations: 0 / 0.5558 GB, free: 52 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.684e-05/0.001852, allocations: 3.938 kB / 0.5558 GB, free: 48 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 5.871e-06/0.001858, allocations: 0 / 0.5558 GB, free: 48 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.002191, allocations: 47.83 kB / 0.5559 GB, free: 0 / 474.7 MB Notification: Performance of NFFlatten.flatten: time 4.098e-05/0.002232, allocations: 48 / 0.5559 GB, free: 16 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.915e-05/0.002271, allocations: 11.98 kB / 0.5559 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.327e-05/0.002294, allocations: 0 / 0.5559 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.346e-05/0.002318, allocations: 0 / 0.5559 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.002328, allocations: 0 / 0.5559 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.002472, allocations: 59.88 kB / 0.556 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.225e-05/0.002484, allocations: 0 / 0.556 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.37e-05/0.002498, allocations: 3.938 kB / 0.556 GB, free: 15.92 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.002606, allocations: 35.94 kB / 0.556 GB, free: 15.89 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.002608, allocations: 0 / 0.556 GB, free: 15.89 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.002609, allocations: 0 / 0.556 GB, free: 15.89 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.002613, allocations: 0 / 0.556 GB, free: 15.89 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002583/0.002871, allocations: 356.3 kB / 0.5563 GB, free: 15.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.002908, allocations: 8.75 kB / 0.5563 GB, free: 15.49 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.002944, allocations: 8.875 kB / 0.5564 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.094e-05/0.003005, allocations: 104.6 kB / 0.5565 GB, free: 15.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.003017, allocations: 384 / 0.5565 GB, free: 15.36 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.003025, allocations: 384 / 0.5565 GB, free: 15.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.889e-05/0.003104, allocations: 30.27 kB / 0.5565 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.00311, allocations: 192 / 0.5565 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.003117, allocations: 384 / 0.5565 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.003124, allocations: 384 / 0.5565 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.272e-05/0.003137, allocations: 7.938 kB / 0.5565 GB, free: 15.31 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.32e-05/0.00323, allocations: 112.6 kB / 0.5566 GB, free: 15.17 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.944e-05/0.00327, allocations: 31 kB / 0.5566 GB, free: 15.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.536e-05/0.003285, allocations: 11.78 kB / 0.5566 GB, free: 15.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003685/0.003654, allocations: 67.92 kB / 0.5567 GB, free: 15.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.003676, allocations: 37.39 kB / 0.5567 GB, free: 15 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.003677, allocations: 4 kB / 0.5567 GB, free: 14.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001215/0.003799, allocations: 33.69 kB / 0.5568 GB, free: 14.95 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.003827, allocations: 55.34 kB / 0.5568 GB, free: 14.89 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.723e-05/0.003864, allocations: 142.2 kB / 0.557 GB, free: 14.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/0.003873, allocations: 25.7 kB / 0.557 GB, free: 14.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.194e-05/0.003905, allocations: 130.9 kB / 0.5571 GB, free: 14.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.003931, allocations: 4.297 kB / 0.5571 GB, free: 14.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.406e-05/0.003955, allocations: 23.38 kB / 0.5571 GB, free: 14.54 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.004066, allocations: 496.1 kB / 0.5576 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.907e-06/0.004075, allocations: 0 / 0.5576 GB, free: 14.04 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.182e-06/0.004081, allocations: 12.06 kB / 0.5576 GB, free: 14.03 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.217e-05/0.004114, allocations: 7.688 kB / 0.5576 GB, free: 14.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.004115, allocations: 0 / 0.5576 GB, free: 14.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.177e-05/0.004157, allocations: 41.62 kB / 0.5577 GB, free: 13.97 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.004169, allocations: 7.125 kB / 0.5577 GB, free: 13.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.004174, allocations: 0 / 0.5577 GB, free: 13.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.004187, allocations: 0 / 0.5577 GB, free: 13.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.094e-05/0.004228, allocations: 4 kB / 0.5577 GB, free: 13.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.004234, allocations: 0 / 0.5577 GB, free: 13.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.316e-06/0.004242, allocations: 8.031 kB / 0.5577 GB, free: 13.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.004247, allocations: 0 / 0.5577 GB, free: 13.95 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.012e-05/0.004308, allocations: 156.6 kB / 0.5578 GB, free: 13.79 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-06/0.004312, allocations: 4 kB / 0.5578 GB, free: 13.79 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.702e-05/0.004369, allocations: 36.69 kB / 0.5579 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.00437, allocations: 0 / 0.5579 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.004373, allocations: 0 / 0.5579 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.004376, allocations: 0 / 0.5579 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.138e-05/0.004428, allocations: 108.6 kB / 0.558 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.004429, allocations: 0 / 0.558 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.022e-05/0.004439, allocations: 16.02 kB / 0.558 GB, free: 13.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.004441, allocations: 3.938 kB / 0.558 GB, free: 13.59 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.004446, allocations: 3.938 kB / 0.558 GB, free: 13.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.004447, allocations: 0 / 0.558 GB, free: 13.59 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.004448, allocations: 0 / 0.558 GB, free: 13.59 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.6e-05/0.004504, allocations: 72.39 kB / 0.5581 GB, free: 13.49 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.837e-06/0.004508, allocations: 0 / 0.5581 GB, free: 13.49 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.295e-06/0.004516, allocations: 3.984 kB / 0.5581 GB, free: 13.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.577e-06/0.004519, allocations: 4 kB / 0.5581 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.236e-05/0.004532, allocations: 0 / 0.5581 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.004534, allocations: 0 / 0.5581 GB, free: 13.48 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.798e-05/0.004562, allocations: 123.2 kB / 0.5582 GB, free: 13.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004562, allocations: 0 / 0.5582 GB, free: 13.36 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001315/0.004693, allocations: 15.94 kB / 0.5582 GB, free: 13.35 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001457/0.004839, allocations: 119.2 kB / 0.5583 GB, free: 13.22 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.643e-05/0.004906, allocations: 15.62 kB / 0.5583 GB, free: 13.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.004908, allocations: 8 kB / 0.5584 GB, free: 13.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.705e-06/0.004915, allocations: 11.69 kB / 0.5584 GB, free: 13.18 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.326e-05/0.005009, allocations: 0 / 0.5584 GB, free: 13.18 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001638/0.005172, allocations: 91.92 kB / 0.5585 GB, free: 13.06 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.919e-05/0.005202, allocations: 51.36 kB / 0.5585 GB, free: 12.99 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.295e-06/0.00521, allocations: 0 / 0.5585 GB, free: 12.99 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.195e-05/0.005222, allocations: 8.5 kB / 0.5585 GB, free: 12.98 MB / 490.7 MB Notification: Performance of SimCode: time 5.61e-07/0.005222, allocations: 0 / 0.5585 GB, free: 12.98 MB / 490.7 MB Notification: Performance of Templates: time 0.00179/0.007013, allocations: 436.5 kB / 0.5589 GB, free: 12.56 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.58629899402149]