Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselY1.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.BesselY1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselY1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselY1",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.001056/0.001056, allocations: 102 kB / 16.4 MB, free: 6.488 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.001017/0.001018, allocations: 192 kB / 17.34 MB, free: 5.727 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7945/0.7945, allocations: 122.9 MB / 414.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 68.14 kB / 0.568 GB, free: 28.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1575, allocations: 77.94 MB / 0.6441 GB, free: 9.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselY1): time 0.00325/0.1608, allocations: 1.417 MB / 0.6455 GB, free: 8.086 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008513/0.1617, allocations: 359.6 kB / 0.6458 GB, free: 7.73 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.256e-05/0.1618, allocations: 3.938 kB / 0.6458 GB, free: 7.727 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.659e-05/0.1618, allocations: 7.938 kB / 0.6458 GB, free: 7.719 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.867e-05/0.1619, allocations: 0 / 0.6458 GB, free: 7.719 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007107/0.1626, allocations: 111.6 kB / 0.6459 GB, free: 7.609 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.481e-05/0.1627, allocations: 23.97 kB / 0.6459 GB, free: 7.586 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.1628, allocations: 4 kB / 0.6459 GB, free: 7.582 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.056e-05/0.1629, allocations: 11.98 kB / 0.6459 GB, free: 7.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.508e-05/0.1629, allocations: 7.938 kB / 0.646 GB, free: 7.562 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.163, allocations: 4 kB / 0.646 GB, free: 7.559 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002914/0.1633, allocations: 131.7 kB / 0.6461 GB, free: 7.43 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.1633, allocations: 7.984 kB / 0.6461 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.715e-05/0.1633, allocations: 11.94 kB / 0.6461 GB, free: 7.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.1636, allocations: 92 kB / 0.6462 GB, free: 7.32 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1636, allocations: 0 / 0.6462 GB, free: 7.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1636, allocations: 0 / 0.6462 GB, free: 7.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1636, allocations: 4 kB / 0.6462 GB, free: 7.316 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005177/0.1641, allocations: 351.3 kB / 0.6465 GB, free: 6.922 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.1642, allocations: 12.62 kB / 0.6465 GB, free: 6.91 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.779e-05/0.1642, allocations: 38.69 kB / 0.6466 GB, free: 6.863 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.534e-05/0.1643, allocations: 0.9375 kB / 0.6466 GB, free: 6.863 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.1644, allocations: 164.3 kB / 0.6467 GB, free: 6.664 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.1644, allocations: 8.359 kB / 0.6467 GB, free: 6.656 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.1644, allocations: 384 / 0.6467 GB, free: 6.656 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.1646, allocations: 46.25 kB / 0.6468 GB, free: 6.605 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1646, allocations: 3.938 kB / 0.6468 GB, free: 6.602 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1647, allocations: 0 / 0.6468 GB, free: 6.602 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1647, allocations: 0 / 0.6468 GB, free: 6.602 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.1648, allocations: 39.95 kB / 0.6468 GB, free: 6.562 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003361/0.1652, allocations: 244.9 kB / 0.6471 GB, free: 6.273 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.1653, allocations: 42.53 kB / 0.6471 GB, free: 6.223 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.068e-05/0.1654, allocations: 20.91 kB / 0.6471 GB, free: 6.199 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008177/0.1662, allocations: 473.5 kB / 0.6476 GB, free: 5.645 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.1663, allocations: 38.55 kB / 0.6476 GB, free: 5.598 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.1663, allocations: 0 / 0.6476 GB, free: 5.598 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003816/0.1667, allocations: 81.59 kB / 0.6477 GB, free: 5.512 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.1667, allocations: 59.33 kB / 0.6477 GB, free: 5.441 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.952e-05/0.1668, allocations: 97.84 kB / 0.6478 GB, free: 5.336 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.1669, allocations: 25.7 kB / 0.6479 GB, free: 5.305 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.477e-05/0.1669, allocations: 92.2 kB / 0.648 GB, free: 5.211 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.167, allocations: 7.953 kB / 0.648 GB, free: 5.203 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.167, allocations: 17.7 kB / 0.648 GB, free: 5.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1671, allocations: 314.8 kB / 0.6483 GB, free: 4.863 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.162e-05/0.1672, allocations: 15.92 kB / 0.6483 GB, free: 4.848 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.119e-05/0.1673, allocations: 15.98 kB / 0.6483 GB, free: 4.832 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.1675, allocations: 44.88 kB / 0.6484 GB, free: 4.785 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1675, allocations: 3.938 kB / 0.6484 GB, free: 4.781 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001853/0.1677, allocations: 65.61 kB / 0.6484 GB, free: 4.711 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1677, allocations: 4 kB / 0.6484 GB, free: 4.707 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.1677, allocations: 3.984 kB / 0.6484 GB, free: 4.703 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.1677, allocations: 0 / 0.6484 GB, free: 4.703 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.746e-05/0.1678, allocations: 8 kB / 0.6484 GB, free: 4.695 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1678, allocations: 4.031 kB / 0.6484 GB, free: 4.691 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.84e-05/0.1679, allocations: 11.94 kB / 0.6484 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.1679, allocations: 0 / 0.6484 GB, free: 4.68 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.17e-05/0.168, allocations: 118.7 kB / 0.6486 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/0.168, allocations: 0 / 0.6486 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002417/0.1683, allocations: 68.72 kB / 0.6486 GB, free: 4.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1683, allocations: 8.016 kB / 0.6486 GB, free: 4.473 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.1683, allocations: 4 kB / 0.6486 GB, free: 4.469 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1683, allocations: 0 / 0.6486 GB, free: 4.469 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.1685, allocations: 161.6 kB / 0.6488 GB, free: 4.262 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1685, allocations: 0 / 0.6488 GB, free: 4.262 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.575e-05/0.1686, allocations: 7.984 kB / 0.6488 GB, free: 4.254 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1686, allocations: 0 / 0.6488 GB, free: 4.254 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.1686, allocations: 4 kB / 0.6488 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1686, allocations: 0 / 0.6488 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1686, allocations: 0 / 0.6488 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.1688, allocations: 171.5 kB / 0.649 GB, free: 4.066 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/0.1689, allocations: 77.11 kB / 0.649 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.1689, allocations: 0 / 0.649 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.641e-05/0.169, allocations: 7.984 kB / 0.6491 GB, free: 3.965 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.169, allocations: 7.875 kB / 0.6491 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-06/0.169, allocations: 4 kB / 0.6491 GB, free: 3.953 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.56e-05/0.1691, allocations: 83.31 kB / 0.6491 GB, free: 3.871 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1691, allocations: 0 / 0.6491 GB, free: 3.871 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.1694, allocations: 35.88 kB / 0.6492 GB, free: 3.836 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.0006403/0.17, allocations: 0.7318 MB / 0.6499 GB, free: 3.074 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002135/0.1702, allocations: 47.89 kB / 0.6499 GB, free: 3.027 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1702, allocations: 0 / 0.6499 GB, free: 3.027 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.067e-05/0.1703, allocations: 19.98 kB / 0.65 GB, free: 3.008 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.1706, allocations: 5.344 kB / 0.65 GB, free: 3.004 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000425/0.171, allocations: 143.1 kB / 0.6501 GB, free: 2.824 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.1712, allocations: 0.6768 MB / 0.6508 GB, free: 2.121 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.199e-05/0.1713, allocations: 128 / 0.6508 GB, free: 2.121 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.205e-05/0.1713, allocations: 15.44 kB / 0.6508 GB, free: 2.105 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1713, allocations: 4 kB / 0.6508 GB, free: 2.102 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01971/0.191, allocations: 1.764 MB / 0.6525 GB, free: 416 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.408/7.599, allocations: 4 kB / 0.6525 GB, free: 412 kB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselY1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselY1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselY1_res.csv --start-time 0.1 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01196 IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselY1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselY1.pipe 2>&1)