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.0009423/0.0009423, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001712/0.001712, allocations: 181 kB / 23.36 MB, free: 1.133 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.9348/0.9348, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.001536/0.001536, allocations: 245.6 kB / 260.5 MB, free: 12.7 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.6796/0.6796, allocations: 138.4 MB / 402.2 MB, free: 0.5664 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.803e-06/1.803e-06, allocations: 0 / 462.4 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/2.026e-05, allocations: 3.078 kB / 462.4 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.001434/0.001455, allocations: 0.6125 MB / 463 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003498/0.001805, allocations: 172.8 kB / 463.1 MB, free: 480 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.217e-05/0.001817, allocations: 1.125 kB / 463.1 MB, free: 480 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.186e-05/0.001829, allocations: 1.859 kB / 463.1 MB, free: 480 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.2e-06/0.001834, allocations: 0 / 463.1 MB, free: 480 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.002141, allocations: 56.59 kB / 463.2 MB, free: 456 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 3.281e-05/0.002174, allocations: 1.781 kB / 463.2 MB, free: 456 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.396e-05/0.002208, allocations: 3.312 kB / 463.2 MB, free: 456 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.37e-05/0.002232, allocations: 0.7188 kB / 463.2 MB, free: 456 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.153e-05/0.002253, allocations: 2.734 kB / 463.2 MB, free: 456 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.814e-06/0.002261, allocations: 0.5625 kB / 463.2 MB, free: 456 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.002399, allocations: 57.66 kB / 463.3 MB, free: 440 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.084e-05/0.00241, allocations: 1.219 kB / 463.3 MB, free: 440 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.568e-06/0.002419, allocations: 2.312 kB / 463.3 MB, free: 440 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.905e-05/0.002518, allocations: 44.42 kB / 463.3 MB, free: 424 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.182e-06/0.00252, allocations: 0 / 463.3 MB, free: 424 kB / 410.7 MB Notification: Performance of FrontEnd: time 4.31e-07/0.00252, allocations: 1.031 kB / 463.3 MB, free: 424 kB / 410.7 MB Notification: Performance of Transformations before backend: time 2.655e-06/0.002523, allocations: 1.094 kB / 463.3 MB, free: 424 kB / 410.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.0001489/0.002672, allocations: 218.5 kB / 463.5 MB, free: 188 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.678e-05/0.002698, allocations: 11.08 kB / 463.5 MB, free: 188 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.858e-05/0.002717, allocations: 2.688 kB / 463.5 MB, free: 188 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.358e-05/0.002751, allocations: 105.4 kB / 463.6 MB, free: 60 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.002759, allocations: 1.281 kB / 463.6 MB, free: 60 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.994e-06/0.002766, allocations: 384 / 463.6 MB, free: 60 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.857e-05/0.002815, allocations: 34.83 kB / 463.7 MB, free: 24 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.00282, allocations: 192 / 463.7 MB, free: 24 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.358e-06/0.002825, allocations: 1.594 kB / 463.7 MB, free: 24 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.00283, allocations: 1.188 kB / 463.7 MB, free: 24 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.867e-06/0.002839, allocations: 10.23 kB / 463.7 MB, free: 16 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.563e-05/0.002915, allocations: 56.97 kB / 463.8 MB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.091e-05/0.002946, allocations: 17.11 kB / 463.8 MB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.398e-06/0.002955, allocations: 7.375 kB / 463.8 MB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002955/0.003251, allocations: 69.28 kB / 463.8 MB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.003272, allocations: 34.7 kB / 463.9 MB, free: 15.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.003273, allocations: 2.859 kB / 463.9 MB, free: 15.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 7.319e-05/0.003347, allocations: 34.58 kB / 463.9 MB, free: 15.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.003374, allocations: 52.11 kB / 464 MB, free: 15.78 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.523e-05/0.0034, allocations: 91.59 kB / 464.1 MB, free: 15.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.003408, allocations: 25.7 kB / 464.1 MB, free: 15.65 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.925e-05/0.003428, allocations: 86.81 kB / 464.2 MB, free: 15.56 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.003451, allocations: 3.953 kB / 464.2 MB, free: 15.56 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-05/0.00347, allocations: 12.95 kB / 464.2 MB, free: 15.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.088e-05/0.003541, allocations: 321.5 kB / 464.5 MB, free: 15.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.829e-06/0.003546, allocations: 2.5 kB / 464.5 MB, free: 15.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.847e-06/0.003549, allocations: 0.9375 kB / 464.5 MB, free: 15.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.864e-05/0.003568, allocations: 8.719 kB / 464.5 MB, free: 15.22 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.00357, allocations: 5.094 kB / 464.5 MB, free: 15.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.943e-05/0.003599, allocations: 35.73 kB / 464.5 MB, free: 15.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.00361, allocations: 7.062 kB / 464.6 MB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.003613, allocations: 0 / 464.6 MB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.003624, allocations: 2.359 kB / 464.6 MB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.96e-05/0.003654, allocations: 2.094 kB / 464.6 MB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.003657, allocations: 1.641 kB / 464.6 MB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.931e-06/0.003663, allocations: 1.375 kB / 464.6 MB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.003669, allocations: 2.719 kB / 464.6 MB, free: 15.18 MB / 426.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 4.699e-05/0.003716, allocations: 111.7 kB / 464.7 MB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-06/0.003719, allocations: 2.672 kB / 464.7 MB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.681e-05/0.003766, allocations: 38.83 kB / 464.7 MB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.003768, allocations: 0 / 464.7 MB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.003769, allocations: 2.031 kB / 464.7 MB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.003772, allocations: 1.344 kB / 464.7 MB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.316e-05/0.003815, allocations: 63.91 kB / 464.8 MB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.003816, allocations: 1.469 kB / 464.8 MB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.109e-06/0.003821, allocations: 1.828 kB / 464.8 MB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.003822, allocations: 2.109 kB / 464.8 MB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-06/0.003826, allocations: 2.719 kB / 464.8 MB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.003828, allocations: 6.266 kB / 464.8 MB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.003829, allocations: 0 / 464.8 MB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.115e-05/0.00387, allocations: 57.25 kB / 464.8 MB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.769e-06/0.003875, allocations: 4.516 kB / 464.9 MB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.56e-06/0.003881, allocations: 1.453 kB / 464.9 MB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.809e-06/0.003885, allocations: 10.05 kB / 464.9 MB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.658e-06/0.003895, allocations: 1.562 kB / 464.9 MB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.82e-07/0.003896, allocations: 1.562 kB / 464.9 MB, free: 14.87 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.959e-06/0.003901, allocations: 7.047 kB / 464.9 MB, free: 14.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003901, allocations: 0 / 464.9 MB, free: 14.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001077/0.004009, allocations: 15.41 kB / 464.9 MB, free: 14.86 MB / 426.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.0001297/0.004138, allocations: 107.5 kB / 465 MB, free: 14.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.134e-05/0.00418, allocations: 9.797 kB / 465 MB, free: 14.78 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.004182, allocations: 0 / 465 MB, free: 14.78 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.251e-06/0.004188, allocations: 9.484 kB / 465 MB, free: 14.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.768e-05/0.004226, allocations: 5.594 kB / 465 MB, free: 14.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001261/0.004352, allocations: 77.8 kB / 465.1 MB, free: 14.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.341e-05/0.004375, allocations: 58.48 kB / 465.2 MB, free: 14.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.075e-06/0.004383, allocations: 2.344 kB / 465.2 MB, free: 14.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.326e-05/0.004407, allocations: 48.12 kB / 465.2 MB, free: 14.56 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.004407, allocations: 1.969 kB / 465.2 MB, free: 14.56 MB / 426.7 MB Notification: Performance of Templates: time 0.001804/0.006211, allocations: 487.8 kB / 465.7 MB, free: 14.52 MB / 426.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.423638677690178]