Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 102.6 kB / 16.52 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 197 kB / 17.44 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 241.1 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7902/0.7902, allocations: 115.3 MB / 406.6 MB, free: 6.324 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 67.89 kB / 493.6 MB, free: 0.7773 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3481, allocations: 76.17 MB / 0.5564 GB, free: 36.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.001693/0.3498, allocations: 0.6362 MB / 0.557 GB, free: 36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004246/0.3502, allocations: 196.4 kB / 0.5572 GB, free: 35.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.699e-06/0.3503, allocations: 0 / 0.5572 GB, free: 35.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.428e-05/0.3503, allocations: 0 / 0.5572 GB, free: 35.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.739e-06/0.3503, allocations: 0 / 0.5572 GB, free: 35.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.3506, allocations: 43.31 kB / 0.5572 GB, free: 35.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.131e-05/0.3506, allocations: 2.312 kB / 0.5572 GB, free: 35.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.545e-05/0.3507, allocations: 2.375 kB / 0.5572 GB, free: 35.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.18e-05/0.3507, allocations: 2.062 kB / 0.5572 GB, free: 35.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.749e-05/0.3507, allocations: 1.375 kB / 0.5572 GB, free: 35.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.931e-06/0.3507, allocations: 1.125 kB / 0.5572 GB, free: 35.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.3509, allocations: 62.38 kB / 0.5573 GB, free: 35.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.444e-06/0.3509, allocations: 4.734 kB / 0.5573 GB, free: 35.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.842e-05/0.3509, allocations: 1.375 kB / 0.5573 GB, free: 35.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.633e-05/0.351, allocations: 22.95 kB / 0.5573 GB, free: 35.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.351, allocations: 0 / 0.5573 GB, free: 35.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.351, allocations: 0.5938 kB / 0.5573 GB, free: 35.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.351, allocations: 5.75 kB / 0.5573 GB, free: 35.82 MB / 446.1 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.0002213/0.3513, allocations: 318.6 kB / 0.5576 GB, free: 35.47 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.3513, allocations: 13.84 kB / 0.5577 GB, free: 35.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.623e-05/0.3513, allocations: 2.391 kB / 0.5577 GB, free: 35.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.078e-05/0.3514, allocations: 161.1 kB / 0.5578 GB, free: 35.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.244e-06/0.3514, allocations: 5.5 kB / 0.5578 GB, free: 35.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.3514, allocations: 1.594 kB / 0.5578 GB, free: 35.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.872e-05/0.3515, allocations: 29.55 kB / 0.5578 GB, free: 35.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3515, allocations: 3.688 kB / 0.5578 GB, free: 35.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.3515, allocations: 3.938 kB / 0.5578 GB, free: 35.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.3515, allocations: 0 / 0.5578 GB, free: 35.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.168e-05/0.3516, allocations: 9.375 kB / 0.5579 GB, free: 35.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001072/0.3517, allocations: 146.9 kB / 0.558 GB, free: 35.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.54e-05/0.3517, allocations: 16.92 kB / 0.558 GB, free: 35.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.548e-05/0.3517, allocations: 6.172 kB / 0.558 GB, free: 35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006485/0.3524, allocations: 457.7 kB / 0.5585 GB, free: 34.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.3524, allocations: 31.41 kB / 0.5585 GB, free: 34.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.3524, allocations: 2.594 kB / 0.5585 GB, free: 34.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001501/0.3526, allocations: 39.22 kB / 0.5585 GB, free: 34.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.3526, allocations: 52.58 kB / 0.5586 GB, free: 34.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.345e-05/0.3527, allocations: 95.98 kB / 0.5587 GB, free: 34.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.3527, allocations: 25.7 kB / 0.5587 GB, free: 34.26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.608e-05/0.3527, allocations: 82.61 kB / 0.5588 GB, free: 34.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.3527, allocations: 1.062 kB / 0.5588 GB, free: 34.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.3528, allocations: 14.45 kB / 0.5588 GB, free: 34.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.886e-05/0.3528, allocations: 310.8 kB / 0.5591 GB, free: 33.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.192e-05/0.3528, allocations: 1.125 kB / 0.5591 GB, free: 33.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.661e-06/0.3529, allocations: 1.656 kB / 0.5591 GB, free: 33.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.251e-05/0.3529, allocations: 12.8 kB / 0.5591 GB, free: 33.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3529, allocations: 4.5 kB / 0.5591 GB, free: 33.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.294e-05/0.353, allocations: 33.45 kB / 0.5591 GB, free: 33.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.353, allocations: 7.969 kB / 0.5591 GB, free: 33.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.353, allocations: 4 kB / 0.5591 GB, free: 33.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.353, allocations: 3.938 kB / 0.5591 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.555e-05/0.3531, allocations: 3 kB / 0.5592 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.3531, allocations: 2.406 kB / 0.5592 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.117e-05/0.3531, allocations: 1.625 kB / 0.5592 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.3531, allocations: 0.875 kB / 0.5592 GB, free: 33.79 MB / 446.1 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.518e-05/0.3532, allocations: 109.2 kB / 0.5593 GB, free: 33.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-06/0.3532, allocations: 0 / 0.5593 GB, free: 33.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.871e-05/0.3533, allocations: 48.83 kB / 0.5593 GB, free: 33.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3533, allocations: 3.938 kB / 0.5593 GB, free: 33.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3533, allocations: 7.219 kB / 0.5593 GB, free: 33.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3533, allocations: 0 / 0.5593 GB, free: 33.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.981e-05/0.3534, allocations: 149.4 kB / 0.5595 GB, free: 33.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3534, allocations: 1.312 kB / 0.5595 GB, free: 33.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.101e-05/0.3534, allocations: 1.625 kB / 0.5595 GB, free: 33.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.3534, allocations: 0 / 0.5595 GB, free: 33.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.3534, allocations: 4.469 kB / 0.5595 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3534, allocations: 1.188 kB / 0.5595 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3534, allocations: 4.047 kB / 0.5595 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.23e-05/0.3535, allocations: 57.56 kB / 0.5595 GB, free: 33.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.092e-05/0.3535, allocations: 78.23 kB / 0.5596 GB, free: 33.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.3536, allocations: 6.469 kB / 0.5596 GB, free: 33.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.804e-06/0.3536, allocations: 4.734 kB / 0.5596 GB, free: 33.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.483e-05/0.3536, allocations: 0 / 0.5596 GB, free: 33.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.3536, allocations: 3.438 kB / 0.5596 GB, free: 33.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.696e-05/0.3536, allocations: 76.97 kB / 0.5597 GB, free: 33.19 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3536, allocations: 0 / 0.5597 GB, free: 33.19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002238/0.3538, allocations: 11.5 kB / 0.5597 GB, free: 33.19 MB / 446.1 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.0002238/0.3541, allocations: 121.6 kB / 0.5598 GB, free: 33.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.192e-05/0.3542, allocations: 6.234 kB / 0.5598 GB, free: 33.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3542, allocations: 0 / 0.5598 GB, free: 33.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.033e-06/0.3542, allocations: 2.531 kB / 0.5598 GB, free: 33.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.3543, allocations: 6.375 kB / 0.5598 GB, free: 33.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000171/0.3545, allocations: 105.4 kB / 0.5599 GB, free: 32.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.3546, allocations: 0.6743 MB / 0.5606 GB, free: 32.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.939e-06/0.3546, allocations: 7.438 kB / 0.5606 GB, free: 32.26 MB / 446.1 MB Notification: Performance of SimCode: time 4.6e-07/0.3546, allocations: 2.281 kB / 0.5606 GB, free: 32.26 MB / 446.1 MB Notification: Performance of Templates: time 0.002129/0.3568, allocations: 0.5499 MB / 0.5611 GB, free: 32.25 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)