Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0") translateModel(IBPSA.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 108.2 kB / 16.4 MB, free: 6.504 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.00114/0.00114, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7092/0.7092, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001172, allocations: 66.05 kB / 0.5577 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1505, allocations: 76.17 MB / 0.6321 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ0): time 0.00236/0.153, allocations: 1.428 MB / 0.6335 GB, free: 2.965 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005256/0.1535, allocations: 248.1 kB / 0.6337 GB, free: 2.719 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.679e-05/0.1535, allocations: 0 / 0.6337 GB, free: 2.719 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.683e-05/0.1536, allocations: 0 / 0.6337 GB, free: 2.719 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.599e-05/0.1536, allocations: 7.938 kB / 0.6337 GB, free: 2.711 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003974/0.154, allocations: 51.83 kB / 0.6338 GB, free: 2.66 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.153e-05/0.1541, allocations: 19.98 kB / 0.6338 GB, free: 2.641 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.854e-05/0.1542, allocations: 11.97 kB / 0.6338 GB, free: 2.629 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.049e-05/0.1542, allocations: 11.94 kB / 0.6338 GB, free: 2.617 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.812e-05/0.1543, allocations: 11.98 kB / 0.6338 GB, free: 2.605 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.1543, allocations: 0 / 0.6338 GB, free: 2.605 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.1544, allocations: 55.89 kB / 0.6339 GB, free: 2.551 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.1544, allocations: 11.92 kB / 0.6339 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.1545, allocations: 12 kB / 0.6339 GB, free: 2.527 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.1546, allocations: 47.86 kB / 0.6339 GB, free: 2.48 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1546, allocations: 4 kB / 0.6339 GB, free: 2.477 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1546, allocations: 0 / 0.6339 GB, free: 2.477 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1546, allocations: 0 / 0.6339 GB, free: 2.477 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004894/0.1551, allocations: 347.4 kB / 0.6343 GB, free: 2.086 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1552, allocations: 8.031 kB / 0.6343 GB, free: 2.078 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.1552, allocations: 4.938 kB / 0.6343 GB, free: 2.074 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.1553, allocations: 168.3 kB / 0.6344 GB, free: 1.871 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.1554, allocations: 384 / 0.6344 GB, free: 1.871 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.1554, allocations: 4.375 kB / 0.6345 GB, free: 1.867 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.1556, allocations: 50.23 kB / 0.6345 GB, free: 1.812 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.1556, allocations: 4.188 kB / 0.6345 GB, free: 1.809 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.1556, allocations: 3.938 kB / 0.6345 GB, free: 1.805 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1556, allocations: 0 / 0.6345 GB, free: 1.805 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.1558, allocations: 27.97 kB / 0.6345 GB, free: 1.777 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/0.1561, allocations: 260.8 kB / 0.6348 GB, free: 1.473 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.1562, allocations: 46.42 kB / 0.6348 GB, free: 1.418 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.135e-05/0.1563, allocations: 20.91 kB / 0.6348 GB, free: 1.395 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006121/0.1569, allocations: 461.5 kB / 0.6353 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.157, allocations: 30.56 kB / 0.6353 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.157, allocations: 0 / 0.6353 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003673/0.1573, allocations: 85.48 kB / 0.6354 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.1574, allocations: 55.41 kB / 0.6354 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.077e-05/0.1575, allocations: 97.98 kB / 0.6355 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.1575, allocations: 25.7 kB / 0.6356 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.093e-05/0.1576, allocations: 88.12 kB / 0.6357 GB, free: 440 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.1576, allocations: 11.89 kB / 0.6357 GB, free: 428 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.1576, allocations: 9.719 kB / 0.6357 GB, free: 412 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1578, allocations: 314.8 kB / 0.636 GB, free: 88 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.934e-05/0.1578, allocations: 15.98 kB / 0.636 GB, free: 72 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.445e-05/0.1579, allocations: 23.97 kB / 0.636 GB, free: 48 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.1581, allocations: 36.83 kB / 0.636 GB, free: 8 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1581, allocations: 0 / 0.636 GB, free: 8 kB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002021/0.1583, allocations: 73.53 kB / 0.6361 GB, free: 15.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1583, allocations: 5.875 kB / 0.6361 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.1583, allocations: 4.094 kB / 0.6361 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1584, allocations: 0 / 0.6361 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.471e-05/0.1584, allocations: 11.98 kB / 0.6361 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1585, allocations: 0 / 0.6361 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.344e-05/0.1585, allocations: 4 kB / 0.6361 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.1585, allocations: 0 / 0.6361 GB, free: 15.91 MB / 494.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 (2): * Single equations (assignments): 2 * 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 9.357e-05/0.1586, allocations: 113.8 kB / 0.6362 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.1586, allocations: 8 kB / 0.6363 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.1589, allocations: 76.66 kB / 0.6363 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1589, allocations: 0 / 0.6363 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1589, allocations: 0 / 0.6363 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1589, allocations: 0 / 0.6363 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.1591, allocations: 157.6 kB / 0.6365 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1591, allocations: 8 kB / 0.6365 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.227e-05/0.1591, allocations: 7.984 kB / 0.6365 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.1591, allocations: 0 / 0.6365 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.1591, allocations: 3.938 kB / 0.6365 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1592, allocations: 4.031 kB / 0.6365 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1592, allocations: 4 kB / 0.6365 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.1594, allocations: 163.4 kB / 0.6367 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.915e-05/0.1594, allocations: 81.11 kB / 0.6367 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.1595, allocations: 3.984 kB / 0.6367 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.028e-05/0.1595, allocations: 8.031 kB / 0.6368 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.1596, allocations: 3.938 kB / 0.6368 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.1596, allocations: 7.922 kB / 0.6368 GB, free: 15.17 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.92e-05/0.1596, allocations: 83.28 kB / 0.6368 GB, free: 15.09 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1597, allocations: 0 / 0.6368 GB, free: 15.09 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002282/0.1599, allocations: 20 kB / 0.6369 GB, free: 15.07 MB / 494.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 (2): * Single equations (assignments): 2 * 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.0002044/0.1601, allocations: 111.2 kB / 0.637 GB, free: 14.95 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.1603, allocations: 35.97 kB / 0.637 GB, free: 14.91 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1603, allocations: 0 / 0.637 GB, free: 14.91 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.1604, allocations: 23.97 kB / 0.637 GB, free: 14.89 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.1607, allocations: 3.938 kB / 0.637 GB, free: 14.88 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000278/0.161, allocations: 109.7 kB / 0.6371 GB, free: 14.75 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.1613, allocations: 0.6729 MB / 0.6378 GB, free: 14.05 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.076e-05/0.1613, allocations: 0 / 0.6378 GB, free: 14.05 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.094e-05/0.1613, allocations: 11.44 kB / 0.6378 GB, free: 14.04 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1613, allocations: 0 / 0.6378 GB, free: 14.04 MB / 494.1 MB Notification: Performance of Templates: time 0.003084/0.1644, allocations: 0.6647 MB / 0.6384 GB, free: 13.38 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1)