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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_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.00176/0.001759, allocations: 106 kB / 16.4 MB, free: 6.496 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.001927/0.001927, allocations: 196 kB / 17.34 MB, free: 5.73 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7682/0.7682, allocations: 122.9 MB / 414.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 76.7 kB / 0.568 GB, free: 28.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1557, allocations: 77.94 MB / 0.6441 GB, free: 9.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.001735/0.1575, allocations: 0.5649 MB / 0.6447 GB, free: 8.938 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004707/0.158, allocations: 183.7 kB / 0.6448 GB, free: 8.758 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.403e-05/0.158, allocations: 0 / 0.6448 GB, free: 8.758 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.67e-05/0.158, allocations: 0 / 0.6448 GB, free: 8.758 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.482e-06/0.1581, allocations: 0 / 0.6448 GB, free: 8.758 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004058/0.1585, allocations: 59.83 kB / 0.6449 GB, free: 8.699 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.222e-05/0.1585, allocations: 0 / 0.6449 GB, free: 8.699 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.214e-05/0.1586, allocations: 0 / 0.6449 GB, free: 8.699 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.201e-05/0.1586, allocations: 7.984 kB / 0.6449 GB, free: 8.691 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.18e-05/0.1586, allocations: 4 kB / 0.6449 GB, free: 8.688 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.053e-06/0.1586, allocations: 0 / 0.6449 GB, free: 8.688 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.1588, allocations: 59.81 kB / 0.645 GB, free: 8.629 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.095e-06/0.1588, allocations: 0 / 0.645 GB, free: 8.629 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.652e-05/0.1588, allocations: 0 / 0.645 GB, free: 8.629 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.159, allocations: 44.09 kB / 0.645 GB, free: 8.586 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.159, allocations: 4 kB / 0.645 GB, free: 8.582 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.159, allocations: 4 kB / 0.645 GB, free: 8.578 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.159, allocations: 0 / 0.645 GB, free: 8.578 MB / 494.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.0003059/0.1593, allocations: 311.5 kB / 0.6453 GB, free: 8.223 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.1594, allocations: 12.62 kB / 0.6453 GB, free: 8.211 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.482e-05/0.1594, allocations: 30.75 kB / 0.6453 GB, free: 8.172 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.404e-05/0.1594, allocations: 4.922 kB / 0.6454 GB, free: 8.168 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.749e-05/0.1596, allocations: 160.4 kB / 0.6455 GB, free: 7.973 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.1596, allocations: 384 / 0.6455 GB, free: 7.973 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.1596, allocations: 4.375 kB / 0.6455 GB, free: 7.969 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.994e-05/0.1597, allocations: 38.2 kB / 0.6455 GB, free: 7.926 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1597, allocations: 3.938 kB / 0.6456 GB, free: 7.922 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.1597, allocations: 4 kB / 0.6456 GB, free: 7.918 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1597, allocations: 0 / 0.6456 GB, free: 7.918 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.938e-05/0.1598, allocations: 0 / 0.6456 GB, free: 7.918 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000149/0.1599, allocations: 145.7 kB / 0.6457 GB, free: 7.727 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.145e-05/0.16, allocations: 18.61 kB / 0.6457 GB, free: 7.699 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.756e-05/0.16, allocations: 8.859 kB / 0.6457 GB, free: 7.688 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007803/0.1608, allocations: 453.5 kB / 0.6462 GB, free: 7.152 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.1608, allocations: 34.5 kB / 0.6462 GB, free: 7.109 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.1608, allocations: 0 / 0.6462 GB, free: 7.109 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001471/0.161, allocations: 41.62 kB / 0.6462 GB, free: 7.062 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.161, allocations: 55.53 kB / 0.6463 GB, free: 6.996 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.366e-05/0.1611, allocations: 89.86 kB / 0.6464 GB, free: 6.898 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.1611, allocations: 29.7 kB / 0.6464 GB, free: 6.863 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.315e-05/0.1611, allocations: 80.14 kB / 0.6465 GB, free: 6.781 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.1612, allocations: 3.953 kB / 0.6465 GB, free: 6.777 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-05/0.1612, allocations: 9.719 kB / 0.6465 GB, free: 6.762 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.851e-05/0.1613, allocations: 310.8 kB / 0.6468 GB, free: 6.449 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.608e-06/0.1613, allocations: 4 kB / 0.6468 GB, free: 6.445 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.194e-06/0.1613, allocations: 7.984 kB / 0.6468 GB, free: 6.438 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.4e-05/0.1614, allocations: 16.8 kB / 0.6468 GB, free: 6.418 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1614, allocations: 0 / 0.6468 GB, free: 6.418 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.389e-05/0.1614, allocations: 33.64 kB / 0.6468 GB, free: 6.379 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1615, allocations: 4 kB / 0.6468 GB, free: 6.375 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.1615, allocations: 3.938 kB / 0.6468 GB, free: 6.371 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1615, allocations: 4 kB / 0.6468 GB, free: 6.367 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.128e-05/0.1615, allocations: 0 / 0.6468 GB, free: 6.367 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1615, allocations: 4.031 kB / 0.6469 GB, free: 6.363 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.888e-06/0.1616, allocations: 4 kB / 0.6469 GB, free: 6.359 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-06/0.1616, allocations: 0 / 0.6469 GB, free: 6.359 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 (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 0.0001041/0.1617, allocations: 113.8 kB / 0.647 GB, free: 6.238 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-06/0.1617, allocations: 0 / 0.647 GB, free: 6.238 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.255e-05/0.1618, allocations: 44.7 kB / 0.647 GB, free: 6.188 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1618, allocations: 0 / 0.647 GB, free: 6.188 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1618, allocations: 0 / 0.647 GB, free: 6.188 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1618, allocations: 0 / 0.647 GB, free: 6.188 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.398e-05/0.1619, allocations: 149.7 kB / 0.6472 GB, free: 5.992 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1619, allocations: 4 kB / 0.6472 GB, free: 5.988 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.269e-05/0.1619, allocations: 0 / 0.6472 GB, free: 5.988 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1619, allocations: 0 / 0.6472 GB, free: 5.988 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.1619, allocations: 3.938 kB / 0.6472 GB, free: 5.984 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.162, allocations: 0 / 0.6472 GB, free: 5.984 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.162, allocations: 0 / 0.6472 GB, free: 5.984 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.538e-05/0.162, allocations: 65.06 kB / 0.6472 GB, free: 5.902 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.066e-05/0.1621, allocations: 81.14 kB / 0.6473 GB, free: 5.805 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.1621, allocations: 7.938 kB / 0.6473 GB, free: 5.797 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.693e-06/0.1621, allocations: 0 / 0.6473 GB, free: 5.797 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.313e-05/0.1621, allocations: 0 / 0.6473 GB, free: 5.797 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.1621, allocations: 7.984 kB / 0.6473 GB, free: 5.789 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.635e-05/0.1622, allocations: 75.28 kB / 0.6474 GB, free: 5.715 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1622, allocations: 0 / 0.6474 GB, free: 5.715 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001984/0.1624, allocations: 15.94 kB / 0.6474 GB, free: 5.699 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 (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.0004415/0.1628, allocations: 0.6124 MB / 0.648 GB, free: 5.055 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.8e-05/0.1629, allocations: 11.94 kB / 0.648 GB, free: 5.043 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1629, allocations: 4.094 kB / 0.648 GB, free: 5.039 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.765e-06/0.1629, allocations: 4 kB / 0.648 GB, free: 5.035 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.1631, allocations: 0 / 0.648 GB, free: 5.035 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003476/0.1634, allocations: 118.5 kB / 0.6481 GB, free: 4.879 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.1637, allocations: 0.6729 MB / 0.6488 GB, free: 4.18 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.568e-06/0.1637, allocations: 0 / 0.6488 GB, free: 4.18 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.519e-05/0.1637, allocations: 7.438 kB / 0.6488 GB, free: 4.172 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1637, allocations: 0 / 0.6488 GB, free: 4.172 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01745/0.1812, allocations: 1.14 MB / 0.6499 GB, free: 3.113 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.47/7.651, allocations: 13.55 kB / 0.6499 GB, free: 3.105 MB / 494.1 MB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)