Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.002219/0.002219, allocations: 89.48 kB / 19.44 MB, free: 336 kB / 13.93 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.002716/0.002716, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.571/1.571, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.003292/0.003292, allocations: 233.8 kB / 259.8 MB, free: 12.86 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 1.189/1.189, allocations: 138.4 MB / 454.7 MB, free: 1.543 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.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.5543 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.513e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.002773/0.002798, allocations: 1.457 MB / 0.5558 GB, free: 15.41 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005525/0.003351, allocations: 236 kB / 0.556 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.098e-05/0.003372, allocations: 4 kB / 0.556 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.303e-05/0.003395, allocations: 3.938 kB / 0.556 GB, free: 15.17 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.978e-05/0.003434, allocations: 0 / 0.556 GB, free: 15.17 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.003774, allocations: 59.7 kB / 0.5561 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.49e-05/0.003838, allocations: 23.92 kB / 0.5561 GB, free: 15.09 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.256e-05/0.003911, allocations: 7.984 kB / 0.5561 GB, free: 15.08 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.849e-05/0.003969, allocations: 11.98 kB / 0.5561 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.321e-05/0.004003, allocations: 4 kB / 0.5561 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.004017, allocations: 4 kB / 0.5561 GB, free: 15.06 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.00417, allocations: 55.88 kB / 0.5562 GB, free: 15.01 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.004185, allocations: 8 kB / 0.5562 GB, free: 15 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.124e-05/0.004206, allocations: 7.984 kB / 0.5562 GB, free: 14.99 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.004374, allocations: 71.77 kB / 0.5562 GB, free: 14.92 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.004376, allocations: 0 / 0.5562 GB, free: 14.92 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.004376, allocations: 0 / 0.5562 GB, free: 14.92 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.327e-06/0.00438, allocations: 0 / 0.5562 GB, free: 14.92 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005786/0.004958, allocations: 360.2 kB / 0.5566 GB, free: 14.53 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.005005, allocations: 16.69 kB / 0.5566 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.005042, allocations: 0.9375 kB / 0.5566 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.005166, allocations: 120.6 kB / 0.5567 GB, free: 14.37 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.005179, allocations: 4.359 kB / 0.5567 GB, free: 14.37 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.106e-06/0.005187, allocations: 4.375 kB / 0.5567 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.005337, allocations: 50.25 kB / 0.5568 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.005346, allocations: 192 / 0.5568 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-06/0.005353, allocations: 4.312 kB / 0.5568 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.005357, allocations: 384 / 0.5568 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.005471, allocations: 23.92 kB / 0.5568 GB, free: 14.28 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.005823, allocations: 247.8 kB / 0.557 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.005948, allocations: 39.09 kB / 0.5571 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.96e-05/0.006018, allocations: 27.73 kB / 0.5571 GB, free: 13.92 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004629/0.006481, allocations: 67.92 kB / 0.5572 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.353e-05/0.006524, allocations: 41.33 kB / 0.5572 GB, free: 13.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.006525, allocations: 0 / 0.5572 GB, free: 13.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002893/0.006814, allocations: 65.73 kB / 0.5573 GB, free: 13.73 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.006856, allocations: 55.41 kB / 0.5573 GB, free: 13.67 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.006997, allocations: 165.9 kB / 0.5575 GB, free: 13.49 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.007016, allocations: 25.7 kB / 0.5575 GB, free: 13.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.178e-05/0.007097, allocations: 130.9 kB / 0.5576 GB, free: 13.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.007116, allocations: 7.891 kB / 0.5576 GB, free: 13.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.007155, allocations: 19.38 kB / 0.5577 GB, free: 13.29 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002643/0.007419, allocations: 496.1 kB / 0.5581 GB, free: 12.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.717e-05/0.007476, allocations: 11.98 kB / 0.5581 GB, free: 12.78 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.238e-05/0.007529, allocations: 19.92 kB / 0.5582 GB, free: 12.76 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.803e-05/0.007627, allocations: 31.73 kB / 0.5582 GB, free: 12.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.007628, allocations: 0 / 0.5582 GB, free: 12.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001439/0.007772, allocations: 53.69 kB / 0.5582 GB, free: 12.67 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.007785, allocations: 4 kB / 0.5582 GB, free: 12.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.007792, allocations: 3.938 kB / 0.5582 GB, free: 12.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.007804, allocations: 0 / 0.5582 GB, free: 12.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.803e-05/0.007882, allocations: 8 kB / 0.5583 GB, free: 12.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.433e-06/0.00789, allocations: 3.984 kB / 0.5583 GB, free: 12.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.463e-05/0.007924, allocations: 7.984 kB / 0.5583 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.007932, allocations: 4 kB / 0.5583 GB, free: 12.64 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 (2): * Single equations (assignments): 2 * 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 0.0001097/0.008042, allocations: 160.5 kB / 0.5584 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.008069, allocations: 4 kB / 0.5584 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001727/0.008242, allocations: 64.92 kB / 0.5585 GB, free: 12.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.008244, allocations: 0 / 0.5585 GB, free: 12.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.008247, allocations: 0 / 0.5585 GB, free: 12.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.008249, allocations: 0 / 0.5585 GB, free: 12.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.008403, allocations: 116.6 kB / 0.5586 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.008405, allocations: 4.219 kB / 0.5586 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.015e-05/0.008445, allocations: 4 kB / 0.5586 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.008446, allocations: 4 kB / 0.5586 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.008455, allocations: 3.984 kB / 0.5586 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.008458, allocations: 3.938 kB / 0.5586 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.008459, allocations: 0 / 0.5586 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.008696, allocations: 207.9 kB / 0.5588 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-06/0.008702, allocations: 0 / 0.5588 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.008712, allocations: 0 / 0.5588 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.417e-05/0.008776, allocations: 15.97 kB / 0.5588 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.008813, allocations: 3.984 kB / 0.5588 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.008819, allocations: 4 kB / 0.5588 GB, free: 11.98 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.422e-05/0.008893, allocations: 127.2 kB / 0.559 GB, free: 11.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008893, allocations: 0 / 0.559 GB, free: 11.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002312/0.009124, allocations: 19.89 kB / 0.559 GB, free: 11.84 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 (2): * Single equations (assignments): 2 * 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.000195/0.009319, allocations: 115.2 kB / 0.5591 GB, free: 11.72 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001668/0.009486, allocations: 31.67 kB / 0.5591 GB, free: 11.68 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.009487, allocations: 3.938 kB / 0.5591 GB, free: 11.68 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.788e-05/0.009555, allocations: 27.67 kB / 0.5591 GB, free: 11.65 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.009779, allocations: 3.938 kB / 0.5592 GB, free: 11.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002804/0.01006, allocations: 109.5 kB / 0.5593 GB, free: 11.51 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.831e-05/0.01013, allocations: 59.34 kB / 0.5593 GB, free: 11.43 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.255e-05/0.01015, allocations: 8.125 kB / 0.5593 GB, free: 11.43 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.54e-05/0.01018, allocations: 8.5 kB / 0.5593 GB, free: 11.42 MB / 490.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01018, allocations: 0 / 0.5593 GB, free: 11.42 MB / 490.7 MB Notification: Performance of Templates: time 0.003561/0.01374, allocations: 0.71 MB / 0.56 GB, free: 10.71 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.818578434060328]