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.000974/0.000974, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 178.3 kB / 16.57 MB, free: 6.859 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.324/1.324, allocations: 223.2 MB / 240.5 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.693/0.693, allocations: 113.8 MB / 405.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003085/0.0003087, allocations: 8 kB / 493.1 MB, free: 8.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1405, allocations: 77.15 MB / 0.5568 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.0007237/0.1413, allocations: 303 kB / 0.5571 GB, free: 11.28 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004392/0.1418, allocations: 181.7 kB / 0.5573 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.088e-05/0.1418, allocations: 0 / 0.5573 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.063e-05/0.1418, allocations: 0 / 0.5573 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.292e-06/0.1418, allocations: 0 / 0.5573 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.1422, allocations: 43.83 kB / 0.5573 GB, free: 11.06 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.204e-05/0.1422, allocations: 0 / 0.5573 GB, free: 11.06 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.541e-05/0.1423, allocations: 0 / 0.5573 GB, free: 11.06 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.312e-05/0.1423, allocations: 0 / 0.5573 GB, free: 11.06 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.112e-05/0.1423, allocations: 0 / 0.5573 GB, free: 11.06 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.991e-06/0.1423, allocations: 4 kB / 0.5574 GB, free: 11.06 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.1425, allocations: 63.94 kB / 0.5574 GB, free: 11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.542e-06/0.1425, allocations: 3.984 kB / 0.5574 GB, free: 10.99 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.573e-05/0.1425, allocations: 25.7 kB / 0.5574 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.465e-05/0.1426, allocations: 19.97 kB / 0.5575 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.1426, allocations: 0 / 0.5575 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1427, allocations: 0 / 0.5575 GB, free: 10.94 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.1427, allocations: 0 / 0.5575 GB, free: 10.94 MB / 430.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.0002449/0.1429, allocations: 317.1 kB / 0.5578 GB, free: 10.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.143, allocations: 15.95 kB / 0.5578 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.834e-05/0.143, allocations: 8 kB / 0.5578 GB, free: 10.56 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.697e-05/0.1431, allocations: 163.1 kB / 0.5579 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.1431, allocations: 0 / 0.5579 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.1431, allocations: 0 / 0.5579 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.382e-05/0.1432, allocations: 25.7 kB / 0.558 GB, free: 10.33 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1432, allocations: 3.953 kB / 0.558 GB, free: 10.33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.1432, allocations: 4 kB / 0.558 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1432, allocations: 0 / 0.558 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.766e-05/0.1433, allocations: 0 / 0.558 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001204/0.1434, allocations: 145.7 kB / 0.5581 GB, free: 10.13 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.829e-05/0.1434, allocations: 30.55 kB / 0.5581 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006896/0.1441, allocations: 449.5 kB / 0.5586 GB, free: 9.562 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.1442, allocations: 34.55 kB / 0.5586 GB, free: 9.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.1442, allocations: 4 kB / 0.5586 GB, free: 9.516 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001299/0.1443, allocations: 37.66 kB / 0.5586 GB, free: 9.473 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.1444, allocations: 51.41 kB / 0.5587 GB, free: 9.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.974e-05/0.1444, allocations: 97.73 kB / 0.5588 GB, free: 9.305 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.1444, allocations: 25.7 kB / 0.5588 GB, free: 9.273 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.464e-05/0.1444, allocations: 80.14 kB / 0.5589 GB, free: 9.191 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.1445, allocations: 4 kB / 0.5589 GB, free: 9.188 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.793e-06/0.1445, allocations: 3.938 kB / 0.5589 GB, free: 9.184 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1446, allocations: 315 kB / 0.5592 GB, free: 8.867 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-06/0.1446, allocations: 0 / 0.5592 GB, free: 8.867 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.509e-06/0.1446, allocations: 0 / 0.5592 GB, free: 8.867 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.303e-05/0.1446, allocations: 7.984 kB / 0.5592 GB, free: 8.859 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1447, allocations: 0 / 0.5592 GB, free: 8.859 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.351e-05/0.1447, allocations: 33.7 kB / 0.5592 GB, free: 8.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1447, allocations: 4 kB / 0.5592 GB, free: 8.816 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1448, allocations: 0 / 0.5592 GB, free: 8.816 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1448, allocations: 4 kB / 0.5592 GB, free: 8.812 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.055e-05/0.1448, allocations: 4.094 kB / 0.5592 GB, free: 8.809 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.1448, allocations: 3.953 kB / 0.5593 GB, free: 8.805 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.164e-05/0.1448, allocations: 0 / 0.5593 GB, free: 8.805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.1449, allocations: 7.984 kB / 0.5593 GB, free: 8.797 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.563e-05/0.1449, allocations: 117.8 kB / 0.5594 GB, free: 8.672 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-06/0.1449, allocations: 3.906 kB / 0.5594 GB, free: 8.668 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.178e-05/0.145, allocations: 36.83 kB / 0.5594 GB, free: 8.625 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1451, allocations: 0 / 0.5594 GB, free: 8.625 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1451, allocations: 0 / 0.5594 GB, free: 8.625 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1451, allocations: 7.984 kB / 0.5594 GB, free: 8.617 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.624e-05/0.1452, allocations: 145.7 kB / 0.5596 GB, free: 8.426 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1452, allocations: 4 kB / 0.5596 GB, free: 8.422 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.292e-05/0.1452, allocations: 0 / 0.5596 GB, free: 8.422 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1452, allocations: 0 / 0.5596 GB, free: 8.422 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.1452, allocations: 0 / 0.5596 GB, free: 8.422 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1452, allocations: 0 / 0.5596 GB, free: 8.422 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1452, allocations: 0 / 0.5596 GB, free: 8.422 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.658e-05/0.1453, allocations: 73.02 kB / 0.5596 GB, free: 8.332 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.171e-05/0.1453, allocations: 77.11 kB / 0.5597 GB, free: 8.238 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.1454, allocations: 0 / 0.5597 GB, free: 8.238 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.652e-06/0.1454, allocations: 0 / 0.5597 GB, free: 8.238 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.1454, allocations: 0 / 0.5597 GB, free: 8.238 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-06/0.1454, allocations: 7.938 kB / 0.5597 GB, free: 8.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.628e-05/0.1454, allocations: 75.28 kB / 0.5598 GB, free: 8.156 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1454, allocations: 0 / 0.5598 GB, free: 8.156 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002002/0.1456, allocations: 8 kB / 0.5598 GB, free: 8.148 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002174/0.1459, allocations: 127.9 kB / 0.5599 GB, free: 8.012 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.833e-05/0.1459, allocations: 4 kB / 0.5599 GB, free: 8.008 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1459, allocations: 0 / 0.5599 GB, free: 8.008 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.434e-06/0.1459, allocations: 3.938 kB / 0.5599 GB, free: 8.004 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.098e-05/0.146, allocations: 3.953 kB / 0.5599 GB, free: 8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001496/0.1462, allocations: 95.03 kB / 0.56 GB, free: 7.883 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.1464, allocations: 0.6692 MB / 0.5607 GB, free: 7.188 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.363e-05/0.1464, allocations: 4 kB / 0.5607 GB, free: 7.184 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.181e-05/0.1464, allocations: 7.438 kB / 0.5607 GB, free: 7.176 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1464, allocations: 0 / 0.5607 GB, free: 7.176 MB / 430.1 MB Notification: Performance of Templates: time 0.002223/0.1487, allocations: 387.8 kB / 0.561 GB, free: 6.801 MB / 430.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)