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/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.001167/0.001167, allocations: 93.06 kB / 19.65 MB, free: 280 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.001432/0.001432, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.9529/0.9529, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.002796/0.002796, allocations: 226 kB / 260.2 MB, free: 12.83 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.7254/0.7254, allocations: 138.4 MB / 455.2 MB, free: 1.523 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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.5551 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.493e-05/1.655e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.001687/0.001703, allocations: 1.487 MB / 0.5566 GB, free: 15.02 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000395/0.002098, allocations: 240.1 kB / 0.5568 GB, free: 14.78 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.312e-05/0.002122, allocations: 0 / 0.5568 GB, free: 14.78 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.686e-05/0.002148, allocations: 3.938 kB / 0.5568 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.729e-05/0.002186, allocations: 3.938 kB / 0.5568 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.002495, allocations: 67.73 kB / 0.5569 GB, free: 14.7 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.3e-05/0.002548, allocations: 19.94 kB / 0.5569 GB, free: 14.68 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.526e-05/0.002613, allocations: 3.984 kB / 0.5569 GB, free: 14.68 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.069e-05/0.002654, allocations: 12 kB / 0.5569 GB, free: 14.67 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.562e-05/0.00268, allocations: 3.984 kB / 0.5569 GB, free: 14.66 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.00269, allocations: 11.94 kB / 0.5569 GB, free: 14.65 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.856e-05/0.002789, allocations: 59.92 kB / 0.557 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.037e-05/0.002799, allocations: 4 kB / 0.557 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.395e-05/0.002813, allocations: 4 kB / 0.557 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.002917, allocations: 67.72 kB / 0.5571 GB, free: 14.52 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.343e-06/0.002918, allocations: 0 / 0.5571 GB, free: 14.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.002918, allocations: 0 / 0.5571 GB, free: 14.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.775e-06/0.002921, allocations: 0 / 0.5571 GB, free: 14.52 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.0002848/0.003206, allocations: 376.5 kB / 0.5574 GB, free: 14.11 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.875e-05/0.003235, allocations: 8.75 kB / 0.5574 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.003263, allocations: 8.938 kB / 0.5574 GB, free: 14.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.942e-05/0.003333, allocations: 108.6 kB / 0.5575 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.784e-06/0.003341, allocations: 384 / 0.5575 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-06/0.003348, allocations: 4.375 kB / 0.5575 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.003448, allocations: 58.89 kB / 0.5576 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.003455, allocations: 192 / 0.5576 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-06/0.003461, allocations: 384 / 0.5576 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.003467, allocations: 384 / 0.5576 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.571e-05/0.003493, allocations: 11.92 kB / 0.5576 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.003695, allocations: 247.8 kB / 0.5579 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.261e-05/0.003738, allocations: 35.09 kB / 0.5579 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.679e-05/0.003755, allocations: 7.688 kB / 0.5579 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002679/0.004023, allocations: 79.92 kB / 0.558 GB, free: 13.47 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.004043, allocations: 33.39 kB / 0.558 GB, free: 13.43 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/0.004044, allocations: 0 / 0.558 GB, free: 13.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001206/0.004164, allocations: 49.62 kB / 0.558 GB, free: 13.37 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.004191, allocations: 55.41 kB / 0.5581 GB, free: 13.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.269e-05/0.004253, allocations: 157.9 kB / 0.5582 GB, free: 13.13 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.004264, allocations: 29.69 kB / 0.5583 GB, free: 13.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.625e-05/0.0043, allocations: 126.9 kB / 0.5584 GB, free: 12.97 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.217e-05/0.004312, allocations: 3.953 kB / 0.5584 GB, free: 12.96 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.004343, allocations: 23.38 kB / 0.5584 GB, free: 12.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.004449, allocations: 492.1 kB / 0.5589 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.356e-05/0.004463, allocations: 7.938 kB / 0.5589 GB, free: 12.43 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.496e-06/0.004471, allocations: 0 / 0.5589 GB, free: 12.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.73e-05/0.004498, allocations: 23.8 kB / 0.5589 GB, free: 12.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.0045, allocations: 0 / 0.5589 GB, free: 12.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.856e-05/0.004548, allocations: 37.7 kB / 0.559 GB, free: 12.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.004558, allocations: 8 kB / 0.559 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.004562, allocations: 3.938 kB / 0.559 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.004572, allocations: 0 / 0.559 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.641e-05/0.004619, allocations: 7.984 kB / 0.559 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.004624, allocations: 3.984 kB / 0.559 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.426e-05/0.004638, allocations: 4 kB / 0.559 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-06/0.004642, allocations: 3.938 kB / 0.559 GB, free: 12.33 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 5.57e-05/0.004698, allocations: 160.6 kB / 0.5591 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.439e-05/0.004712, allocations: 7.953 kB / 0.5592 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.143e-05/0.004774, allocations: 44.94 kB / 0.5592 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.004775, allocations: 0 / 0.5592 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.004778, allocations: 0 / 0.5592 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.00478, allocations: 0 / 0.5592 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.092e-05/0.004861, allocations: 120.6 kB / 0.5593 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.004862, allocations: 0 / 0.5593 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.708e-05/0.004879, allocations: 4 kB / 0.5593 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.00488, allocations: 4.031 kB / 0.5593 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.004885, allocations: 7.984 kB / 0.5593 GB, free: 11.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.004887, allocations: 7.938 kB / 0.5593 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.004888, allocations: 0 / 0.5593 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.326e-05/0.004961, allocations: 183.9 kB / 0.5595 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-06/0.004968, allocations: 4 kB / 0.5595 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.454e-06/0.004975, allocations: 3.984 kB / 0.5595 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.733e-05/0.005003, allocations: 3.938 kB / 0.5595 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.005024, allocations: 4 kB / 0.5595 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.005025, allocations: 0 / 0.5595 GB, free: 11.72 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.52e-05/0.00506, allocations: 135.2 kB / 0.5597 GB, free: 11.59 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005061, allocations: 0 / 0.5597 GB, free: 11.59 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001424/0.005203, allocations: 15.94 kB / 0.5597 GB, free: 11.57 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.0001218/0.005325, allocations: 111.2 kB / 0.5598 GB, free: 11.45 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.204e-05/0.005387, allocations: 23.61 kB / 0.5598 GB, free: 11.43 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.11e-07/0.005388, allocations: 64 / 0.5598 GB, free: 11.43 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.532e-05/0.005403, allocations: 23.62 kB / 0.5598 GB, free: 11.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.005543, allocations: 4 kB / 0.5598 GB, free: 11.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001737/0.005716, allocations: 109.5 kB / 0.5599 GB, free: 11.26 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.795e-05/0.005744, allocations: 59.34 kB / 0.56 GB, free: 11.18 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.167e-05/0.005756, allocations: 0 / 0.56 GB, free: 11.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.615e-05/0.005772, allocations: 8.5 kB / 0.56 GB, free: 11.18 MB / 490.7 MB Notification: Performance of SimCode: time 4.11e-07/0.005773, allocations: 0 / 0.56 GB, free: 11.18 MB / 490.7 MB Notification: Performance of Templates: time 0.00201/0.007782, allocations: 0.7892 MB / 0.5608 GB, free: 10.39 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6231713430024683]