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: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 98.25 kB / 16.4 MB, free: 6.5 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.001455/0.001455, allocations: 193.2 kB / 17.34 MB, free: 5.77 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7873/0.7873, allocations: 115.3 MB / 406.5 MB, free: 6.23 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 68.02 kB / 0.5572 GB, free: 32.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1594, allocations: 76.18 MB / 0.6316 GB, free: 4.941 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ0): time 0.003707/0.1632, allocations: 1.424 MB / 0.633 GB, free: 3.504 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006918/0.1639, allocations: 240.1 kB / 0.6332 GB, free: 3.266 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.512e-05/0.1639, allocations: 0 / 0.6332 GB, free: 3.266 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.519e-05/0.164, allocations: 0 / 0.6332 GB, free: 3.266 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.601e-05/0.1641, allocations: 15.91 kB / 0.6332 GB, free: 3.25 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004571/0.1645, allocations: 55.83 kB / 0.6333 GB, free: 3.195 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.923e-05/0.1646, allocations: 19.94 kB / 0.6333 GB, free: 3.176 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1648, allocations: 11.98 kB / 0.6333 GB, free: 3.164 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.085e-05/0.1648, allocations: 15.92 kB / 0.6333 GB, free: 3.148 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.582e-05/0.1649, allocations: 7.984 kB / 0.6333 GB, free: 3.141 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.1649, allocations: 0 / 0.6333 GB, free: 3.141 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.1651, allocations: 55.95 kB / 0.6334 GB, free: 3.086 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.356e-05/0.1651, allocations: 11.92 kB / 0.6334 GB, free: 3.074 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.1652, allocations: 4 kB / 0.6334 GB, free: 3.07 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.1654, allocations: 59.8 kB / 0.6335 GB, free: 3.012 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1654, allocations: 0 / 0.6335 GB, free: 3.012 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.1654, allocations: 0 / 0.6335 GB, free: 3.012 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.1654, allocations: 0 / 0.6335 GB, free: 3.012 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.0005688/0.166, allocations: 350.3 kB / 0.6338 GB, free: 2.621 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.1661, allocations: 8.031 kB / 0.6338 GB, free: 2.613 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.221e-05/0.1661, allocations: 34.75 kB / 0.6338 GB, free: 2.57 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/0.1662, allocations: 0.9375 kB / 0.6338 GB, free: 2.57 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.1663, allocations: 168.4 kB / 0.634 GB, free: 2.367 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.1663, allocations: 384 / 0.634 GB, free: 2.367 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-06/0.1664, allocations: 4.375 kB / 0.634 GB, free: 2.363 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.1666, allocations: 54.23 kB / 0.634 GB, free: 2.305 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1666, allocations: 7.875 kB / 0.6341 GB, free: 2.297 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.1667, allocations: 0 / 0.6341 GB, free: 2.297 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1667, allocations: 3.938 kB / 0.6341 GB, free: 2.293 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002259/0.1669, allocations: 31.97 kB / 0.6341 GB, free: 2.262 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/0.1673, allocations: 252.9 kB / 0.6343 GB, free: 1.965 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.1675, allocations: 42.5 kB / 0.6344 GB, free: 1.914 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.1676, allocations: 16.91 kB / 0.6344 GB, free: 1.895 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009098/0.1685, allocations: 457.5 kB / 0.6348 GB, free: 1.355 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.1686, allocations: 38.5 kB / 0.6349 GB, free: 1.309 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.1686, allocations: 0 / 0.6349 GB, free: 1.309 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004694/0.1691, allocations: 81.64 kB / 0.6349 GB, free: 1.223 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.1691, allocations: 51.41 kB / 0.635 GB, free: 1.16 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.942e-05/0.1692, allocations: 101.8 kB / 0.6351 GB, free: 1.051 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.1692, allocations: 25.7 kB / 0.6351 GB, free: 1.02 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.324e-05/0.1693, allocations: 92.27 kB / 0.6352 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.1693, allocations: 4.75 kB / 0.6352 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.1694, allocations: 9.719 kB / 0.6352 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1695, allocations: 318.8 kB / 0.6355 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.1696, allocations: 15.97 kB / 0.6355 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.1698, allocations: 19.92 kB / 0.6356 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.17, allocations: 40.89 kB / 0.6356 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.475e-05/0.17, allocations: 3.938 kB / 0.6356 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002785/0.1703, allocations: 65.66 kB / 0.6357 GB, free: 444 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1703, allocations: 4 kB / 0.6357 GB, free: 440 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.1703, allocations: 0 / 0.6357 GB, free: 440 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1704, allocations: 0 / 0.6357 GB, free: 440 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.1705, allocations: 16.02 kB / 0.6357 GB, free: 424 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1705, allocations: 4 kB / 0.6357 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.388e-05/0.1706, allocations: 11.92 kB / 0.6357 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.1706, allocations: 0 / 0.6357 GB, free: 408 kB / 478.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 8.41e-05/0.1707, allocations: 113.8 kB / 0.6358 GB, free: 284 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/0.1707, allocations: 7.938 kB / 0.6358 GB, free: 276 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002963/0.171, allocations: 68.78 kB / 0.6359 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1711, allocations: 0 / 0.6359 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.1711, allocations: 0 / 0.6359 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.1711, allocations: 0 / 0.6359 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.1713, allocations: 173.6 kB / 0.636 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1714, allocations: 0 / 0.636 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.093e-05/0.1714, allocations: 4 kB / 0.636 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1715, allocations: 0 / 0.636 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.1715, allocations: 0 / 0.636 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/0.1715, allocations: 7.984 kB / 0.636 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1715, allocations: 0 / 0.636 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.1718, allocations: 171.3 kB / 0.6362 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.1719, allocations: 81.28 kB / 0.6363 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.1719, allocations: 0 / 0.6363 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.172, allocations: 4 kB / 0.6363 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.1721, allocations: 11.97 kB / 0.6363 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.1721, allocations: 4.031 kB / 0.6363 GB, free: 15.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.533e-05/0.1721, allocations: 79.28 kB / 0.6364 GB, free: 15.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1722, allocations: 0 / 0.6364 GB, free: 15.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000407/0.1726, allocations: 16 kB / 0.6364 GB, free: 15.57 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.0007989/0.1734, allocations: 0.7201 MB / 0.6371 GB, free: 14.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002936/0.1737, allocations: 31.97 kB / 0.6371 GB, free: 14.79 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1737, allocations: 0 / 0.6371 GB, free: 14.79 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.1739, allocations: 28.06 kB / 0.6372 GB, free: 14.76 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.1742, allocations: 0 / 0.6372 GB, free: 14.76 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005894/0.1749, allocations: 139.2 kB / 0.6373 GB, free: 14.58 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.1752, allocations: 0.6768 MB / 0.638 GB, free: 13.88 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.597e-05/0.1753, allocations: 0 / 0.638 GB, free: 13.88 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.283e-05/0.1753, allocations: 19.38 kB / 0.638 GB, free: 13.86 MB / 494.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1753, allocations: 0 / 0.638 GB, free: 13.86 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02473/0.2001, allocations: 1.507 MB / 0.6394 GB, free: 12.42 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.568/7.768, allocations: 18.94 kB / 0.6395 GB, free: 12.41 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1)