Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.0009575/0.0009575, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001004/0.001004, allocations: 173.3 kB / 23.5 MB, free: 1.059 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.03/1.03, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.002328/0.002328, allocations: 243.9 kB / 260.5 MB, free: 12.88 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.7332/0.7332, allocations: 138.4 MB / 455.4 MB, free: 1.531 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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.5551 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.461e-05/2.603e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.001358/0.001384, allocations: 0.6034 MB / 0.5557 GB, free: 204 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003675/0.001751, allocations: 187.3 kB / 0.5559 GB, free: 16 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.833e-05/0.001769, allocations: 0 / 0.5559 GB, free: 16 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.505e-05/0.001784, allocations: 0 / 0.5559 GB, free: 16 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 5.841e-06/0.00179, allocations: 0 / 0.5559 GB, free: 16 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.002121, allocations: 59.83 kB / 0.5559 GB, free: 15.95 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.666e-05/0.002158, allocations: 0 / 0.5559 GB, free: 15.95 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.516e-05/0.002193, allocations: 0 / 0.5559 GB, free: 15.95 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.071e-05/0.002214, allocations: 0 / 0.5559 GB, free: 15.95 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.043e-05/0.002234, allocations: 0 / 0.5559 GB, free: 15.95 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.816e-06/0.002243, allocations: 4 kB / 0.5559 GB, free: 15.95 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.002378, allocations: 67.72 kB / 0.556 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.1e-05/0.002389, allocations: 0 / 0.556 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.321e-05/0.002402, allocations: 4 kB / 0.556 GB, free: 15.88 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.002511, allocations: 47.86 kB / 0.556 GB, free: 15.84 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.002514, allocations: 0 / 0.556 GB, free: 15.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.002514, allocations: 0 / 0.556 GB, free: 15.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.002518, allocations: 0 / 0.556 GB, free: 15.84 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.0002401/0.002759, allocations: 344.4 kB / 0.5564 GB, free: 15.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.002796, allocations: 8.75 kB / 0.5564 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.002829, allocations: 0.9375 kB / 0.5564 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.137e-05/0.00289, allocations: 108.6 kB / 0.5565 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.0029, allocations: 4.375 kB / 0.5565 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.00291, allocations: 4.375 kB / 0.5565 GB, free: 15.31 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.362e-05/0.002984, allocations: 30.27 kB / 0.5565 GB, free: 15.28 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.00299, allocations: 4.125 kB / 0.5565 GB, free: 15.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.002997, allocations: 384 / 0.5565 GB, free: 15.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.003004, allocations: 384 / 0.5565 GB, free: 15.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.504e-05/0.003019, allocations: 7.922 kB / 0.5565 GB, free: 15.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.779e-05/0.003117, allocations: 108.6 kB / 0.5566 GB, free: 15.12 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.435e-05/0.003151, allocations: 23.06 kB / 0.5566 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.627e-05/0.003167, allocations: 11.69 kB / 0.5567 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000402/0.003569, allocations: 80 kB / 0.5567 GB, free: 15 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.003592, allocations: 33.39 kB / 0.5568 GB, free: 14.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.323e-06/0.003593, allocations: 3.938 kB / 0.5568 GB, free: 14.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001233/0.003717, allocations: 33.7 kB / 0.5568 GB, free: 14.91 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.003742, allocations: 51.53 kB / 0.5568 GB, free: 14.85 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.584e-05/0.003788, allocations: 150.2 kB / 0.557 GB, free: 14.69 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.235e-06/0.003796, allocations: 25.7 kB / 0.557 GB, free: 14.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.841e-05/0.003825, allocations: 130.8 kB / 0.5571 GB, free: 14.52 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.003852, allocations: 4.297 kB / 0.5571 GB, free: 14.52 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/0.003873, allocations: 15.38 kB / 0.5572 GB, free: 14.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.003981, allocations: 0.4922 MB / 0.5576 GB, free: 13.99 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.138e-06/0.00399, allocations: 0 / 0.5576 GB, free: 13.99 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.2e-06/0.003995, allocations: 0 / 0.5576 GB, free: 13.99 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.096e-05/0.004026, allocations: 19.62 kB / 0.5577 GB, free: 13.97 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.004028, allocations: 4.062 kB / 0.5577 GB, free: 13.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.883e-05/0.004067, allocations: 29.7 kB / 0.5577 GB, free: 13.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.004081, allocations: 10.97 kB / 0.5577 GB, free: 13.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.004085, allocations: 0 / 0.5577 GB, free: 13.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.004097, allocations: 0 / 0.5577 GB, free: 13.92 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.945e-05/0.004136, allocations: 3.984 kB / 0.5577 GB, free: 13.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.004141, allocations: 0 / 0.5577 GB, free: 13.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.797e-06/0.00415, allocations: 3.938 kB / 0.5577 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.004156, allocations: 4 kB / 0.5577 GB, free: 13.91 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 5.686e-05/0.004213, allocations: 152.6 kB / 0.5579 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-06/0.004217, allocations: 4.031 kB / 0.5579 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.55e-05/0.004282, allocations: 40.64 kB / 0.5579 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.004285, allocations: 3.984 kB / 0.5579 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.00429, allocations: 0 / 0.5579 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.004295, allocations: 7.984 kB / 0.5579 GB, free: 13.69 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.341e-05/0.004348, allocations: 108.6 kB / 0.558 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.004349, allocations: 0 / 0.558 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.626e-06/0.004358, allocations: 4 kB / 0.558 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.004359, allocations: 0 / 0.558 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.004365, allocations: 4 kB / 0.558 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.004366, allocations: 4.031 kB / 0.558 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.004367, allocations: 0 / 0.558 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.521e-05/0.004422, allocations: 80.31 kB / 0.5581 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-06/0.004426, allocations: 0 / 0.5581 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.005e-06/0.004434, allocations: 0 / 0.5581 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.277e-06/0.004437, allocations: 0 / 0.5581 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.229e-05/0.004449, allocations: 0 / 0.5581 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-06/0.004451, allocations: 0 / 0.5581 GB, free: 13.44 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.844e-05/0.004479, allocations: 123.2 kB / 0.5582 GB, free: 13.32 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004479, allocations: 3.938 kB / 0.5582 GB, free: 13.31 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001313/0.00461, allocations: 11.94 kB / 0.5582 GB, free: 13.3 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.0001627/0.004773, allocations: 127.1 kB / 0.5584 GB, free: 13.17 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.72e-05/0.00484, allocations: 11.69 kB / 0.5584 GB, free: 13.15 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.004844, allocations: 4 kB / 0.5584 GB, free: 13.15 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.911e-06/0.00485, allocations: 11.67 kB / 0.5584 GB, free: 13.13 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.349e-05/0.004943, allocations: 12.12 kB / 0.5584 GB, free: 13.12 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001645/0.005108, allocations: 87.88 kB / 0.5585 GB, free: 13.01 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.709e-05/0.005135, allocations: 51.36 kB / 0.5585 GB, free: 12.94 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.047e-06/0.005144, allocations: 4 kB / 0.5585 GB, free: 12.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.312e-05/0.005157, allocations: 8.5 kB / 0.5585 GB, free: 12.93 MB / 490.7 MB Notification: Performance of SimCode: time 4.81e-07/0.005157, allocations: 0 / 0.5585 GB, free: 12.93 MB / 490.7 MB Notification: Performance of Templates: time 0.001993/0.00715, allocations: 440 kB / 0.559 GB, free: 12.5 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.699410910019651]