Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1") translateModel(IBPSA.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 95.33 kB / 15.68 MB, free: 488 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.001444/0.001444, allocations: 175.8 kB / 16.56 MB, free: 6.465 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.332/1.332, allocations: 223.2 MB / 240.5 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6779/0.6779, allocations: 113.8 MB / 405.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003131/0.0003131, allocations: 10.69 kB / 493.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1357, allocations: 77.15 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ1): time 0.0005675/0.1363, allocations: 299.1 kB / 0.5571 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003806/0.1367, allocations: 181.7 kB / 0.5573 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.809e-06/0.1368, allocations: 0 / 0.5573 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.396e-06/0.1368, allocations: 3.938 kB / 0.5573 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.807e-06/0.1368, allocations: 0 / 0.5573 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.1371, allocations: 47.89 kB / 0.5574 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 2.697e-05/0.1371, allocations: 0 / 0.5574 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.213e-05/0.1372, allocations: 0 / 0.5574 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.073e-05/0.1372, allocations: 0 / 0.5574 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.071e-05/0.1372, allocations: 7.922 kB / 0.5574 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.28e-06/0.1372, allocations: 0 / 0.5574 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.1374, allocations: 59.95 kB / 0.5574 GB, free: 11.03 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.789e-06/0.1374, allocations: 0 / 0.5574 GB, free: 11.03 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.473e-05/0.1374, allocations: 29.69 kB / 0.5574 GB, free: 10.99 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.046e-05/0.1375, allocations: 23.95 kB / 0.5575 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.1375, allocations: 3.938 kB / 0.5575 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1375, allocations: 4 kB / 0.5575 GB, free: 10.96 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.1375, allocations: 0 / 0.5575 GB, free: 10.96 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.0002152/0.1377, allocations: 315.4 kB / 0.5578 GB, free: 10.61 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1378, allocations: 16.02 kB / 0.5578 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.188e-05/0.1378, allocations: 0 / 0.5578 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.566e-05/0.1379, allocations: 163.1 kB / 0.5579 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-06/0.1379, allocations: 0 / 0.5579 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-06/0.1379, allocations: 0 / 0.5579 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.768e-05/0.138, allocations: 37.64 kB / 0.558 GB, free: 10.35 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.138, allocations: 3.953 kB / 0.558 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.138, allocations: 0 / 0.558 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.138, allocations: 0 / 0.558 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.849e-05/0.1381, allocations: 0 / 0.558 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001179/0.1382, allocations: 145.6 kB / 0.5581 GB, free: 10.15 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.609e-05/0.1382, allocations: 26.59 kB / 0.5582 GB, free: 10.12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006974/0.1389, allocations: 457.5 kB / 0.5586 GB, free: 9.578 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.139, allocations: 38.55 kB / 0.5586 GB, free: 9.531 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.854e-06/0.139, allocations: 0 / 0.5586 GB, free: 9.531 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.000107/0.1391, allocations: 37.66 kB / 0.5587 GB, free: 9.488 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.1391, allocations: 51.41 kB / 0.5587 GB, free: 9.426 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.401e-05/0.1392, allocations: 93.98 kB / 0.5588 GB, free: 9.324 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.1392, allocations: 25.7 kB / 0.5588 GB, free: 9.293 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.269e-05/0.1392, allocations: 80.14 kB / 0.5589 GB, free: 9.211 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.1392, allocations: 0 / 0.5589 GB, free: 9.211 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-06/0.1392, allocations: 4 kB / 0.5589 GB, free: 9.207 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.981e-05/0.1393, allocations: 310.8 kB / 0.5592 GB, free: 8.895 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.735e-06/0.1394, allocations: 0 / 0.5592 GB, free: 8.895 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.652e-06/0.1394, allocations: 3.938 kB / 0.5592 GB, free: 8.891 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.373e-05/0.1394, allocations: 16.05 kB / 0.5592 GB, free: 8.875 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1394, allocations: 0 / 0.5592 GB, free: 8.875 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.342e-05/0.1395, allocations: 29.7 kB / 0.5592 GB, free: 8.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.1395, allocations: 4 kB / 0.5593 GB, free: 8.836 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.1395, allocations: 0 / 0.5593 GB, free: 8.836 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.966e-06/0.1395, allocations: 0 / 0.5593 GB, free: 8.836 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.598e-05/0.1395, allocations: 4 kB / 0.5593 GB, free: 8.832 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.1396, allocations: 3.953 kB / 0.5593 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.217e-06/0.1396, allocations: 0 / 0.5593 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.1396, allocations: 0 / 0.5593 GB, free: 8.828 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 5.697e-05/0.1396, allocations: 109.9 kB / 0.5594 GB, free: 8.711 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.01e-05/0.1397, allocations: 19.88 kB / 0.5594 GB, free: 8.691 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.855e-05/0.1397, allocations: 40.77 kB / 0.5594 GB, free: 8.645 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1397, allocations: 3.938 kB / 0.5594 GB, free: 8.641 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1397, allocations: 0 / 0.5594 GB, free: 8.641 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1398, allocations: 3.953 kB / 0.5594 GB, free: 8.637 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.051e-05/0.1398, allocations: 145.7 kB / 0.5596 GB, free: 8.445 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1398, allocations: 0 / 0.5596 GB, free: 8.445 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.41e-05/0.1399, allocations: 4 kB / 0.5596 GB, free: 8.441 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1399, allocations: 4.031 kB / 0.5596 GB, free: 8.438 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.1399, allocations: 0 / 0.5596 GB, free: 8.438 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1399, allocations: 3.938 kB / 0.5596 GB, free: 8.434 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1399, allocations: 0 / 0.5596 GB, free: 8.434 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.415e-05/0.14, allocations: 69.02 kB / 0.5596 GB, free: 8.348 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.566e-05/0.14, allocations: 77.11 kB / 0.5597 GB, free: 8.254 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.175e-06/0.14, allocations: 0 / 0.5597 GB, free: 8.254 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-06/0.14, allocations: 32 / 0.5597 GB, free: 8.254 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.024e-05/0.14, allocations: 4 kB / 0.5597 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.14, allocations: 0 / 0.5597 GB, free: 8.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.187e-05/0.1401, allocations: 79.28 kB / 0.5598 GB, free: 8.172 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1401, allocations: 0 / 0.5598 GB, free: 8.172 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001973/0.1403, allocations: 8 kB / 0.5598 GB, free: 8.164 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.0001883/0.1405, allocations: 126.8 kB / 0.5599 GB, free: 8.031 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 4.711e-05/0.1405, allocations: 4 kB / 0.5599 GB, free: 8.027 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1405, allocations: 0 / 0.5599 GB, free: 8.027 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.731e-06/0.1405, allocations: 0 / 0.5599 GB, free: 8.027 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.89e-05/0.1406, allocations: 3.953 kB / 0.5599 GB, free: 8.023 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001403/0.1408, allocations: 90.91 kB / 0.56 GB, free: 7.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.141, allocations: 0.6692 MB / 0.5607 GB, free: 7.215 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.082e-05/0.141, allocations: 4.125 kB / 0.5607 GB, free: 7.211 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.337e-05/0.141, allocations: 11.44 kB / 0.5607 GB, free: 7.199 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.141, allocations: 0 / 0.5607 GB, free: 7.199 MB / 430.1 MB Notification: Performance of Templates: time 0.00207/0.1431, allocations: 403.4 kB / 0.5611 GB, free: 6.809 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)