Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.Functions.Examples.BesselY1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_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.001308/0.001308, allocations: 111.7 kB / 16.41 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.001196/0.001196, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8918/0.8918, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 68.95 kB / 0.5736 GB, free: 26.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.166, allocations: 78.86 MB / 0.6506 GB, free: 3.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselY1): time 0.001816/0.1679, allocations: 0.5571 MB / 0.6511 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007076/0.1686, allocations: 307.2 kB / 0.6514 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.435e-05/0.1687, allocations: 0 / 0.6514 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.453e-05/0.1687, allocations: 0 / 0.6514 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.494e-06/0.1687, allocations: 0 / 0.6514 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006419/0.1694, allocations: 103.7 kB / 0.6515 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.575e-05/0.1694, allocations: 7.938 kB / 0.6515 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.435e-05/0.1695, allocations: 3.984 kB / 0.6515 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.876e-05/0.1695, allocations: 4 kB / 0.6516 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.153e-05/0.1696, allocations: 7.938 kB / 0.6516 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.055e-06/0.1696, allocations: 0 / 0.6516 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003288/0.1699, allocations: 123.8 kB / 0.6517 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.1699, allocations: 4 kB / 0.6517 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.529e-05/0.17, allocations: 0 / 0.6517 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.1702, allocations: 68.11 kB / 0.6517 GB, free: 2.398 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1702, allocations: 0 / 0.6517 GB, free: 2.398 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.1702, allocations: 4 kB / 0.6517 GB, free: 2.395 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.1702, allocations: 0 / 0.6517 GB, free: 2.395 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.0004403/0.1706, allocations: 331.3 kB / 0.6521 GB, free: 2.02 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/0.1707, allocations: 12.03 kB / 0.6521 GB, free: 2.008 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/0.1708, allocations: 34.69 kB / 0.6521 GB, free: 1.965 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.717e-05/0.1708, allocations: 0.9375 kB / 0.6521 GB, free: 1.965 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.171, allocations: 160.4 kB / 0.6523 GB, free: 1.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.171, allocations: 4.359 kB / 0.6523 GB, free: 1.766 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.171, allocations: 8.312 kB / 0.6523 GB, free: 1.758 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.1711, allocations: 30.27 kB / 0.6523 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1711, allocations: 3.938 kB / 0.6523 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1711, allocations: 3.984 kB / 0.6523 GB, free: 1.715 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1711, allocations: 0 / 0.6523 GB, free: 1.715 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.126e-05/0.1712, allocations: 8 kB / 0.6523 GB, free: 1.707 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.1714, allocations: 141.7 kB / 0.6525 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.914e-05/0.1714, allocations: 18.61 kB / 0.6525 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.964e-05/0.1714, allocations: 12.86 kB / 0.6525 GB, free: 1.477 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009319/0.1724, allocations: 469.4 kB / 0.6529 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.1724, allocations: 34.56 kB / 0.653 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.1724, allocations: 0 / 0.653 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001371/0.1726, allocations: 41.58 kB / 0.653 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.1726, allocations: 51.53 kB / 0.6531 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.655e-05/0.1727, allocations: 93.86 kB / 0.6531 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.1727, allocations: 25.7 kB / 0.6532 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.844e-05/0.1727, allocations: 84.12 kB / 0.6532 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.1728, allocations: 3.953 kB / 0.6533 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/0.1728, allocations: 13.72 kB / 0.6533 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.173, allocations: 314.8 kB / 0.6536 GB, free: 220 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.052e-05/0.173, allocations: 0 / 0.6536 GB, free: 220 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.877e-06/0.173, allocations: 5.859 kB / 0.6536 GB, free: 216 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.858e-05/0.1731, allocations: 16.92 kB / 0.6536 GB, free: 196 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1731, allocations: 0 / 0.6536 GB, free: 196 kB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.604e-05/0.1731, allocations: 37.64 kB / 0.6536 GB, free: 152 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1732, allocations: 4 kB / 0.6536 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1732, allocations: 3.938 kB / 0.6536 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1732, allocations: 0 / 0.6536 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.323e-05/0.1732, allocations: 0 / 0.6536 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.1733, allocations: 7.984 kB / 0.6536 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.017e-05/0.1733, allocations: 0 / 0.6536 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.1733, allocations: 4.031 kB / 0.6536 GB, free: 132 kB / 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 8.016e-05/0.1734, allocations: 105.8 kB / 0.6537 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.993e-06/0.1734, allocations: 0 / 0.6537 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.1735, allocations: 40.77 kB / 0.6538 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1735, allocations: 0 / 0.6538 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1735, allocations: 11.88 kB / 0.6538 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.1735, allocations: 3.984 kB / 0.6538 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.1737, allocations: 141.7 kB / 0.6539 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1737, allocations: 4.031 kB / 0.6539 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.57e-05/0.1738, allocations: 3.938 kB / 0.6539 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1738, allocations: 4 kB / 0.6539 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1738, allocations: 3.938 kB / 0.6539 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1738, allocations: 0 / 0.6539 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1738, allocations: 0 / 0.6539 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001108/0.1739, allocations: 57.12 kB / 0.654 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.717e-05/0.174, allocations: 81.11 kB / 0.6541 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.174, allocations: 7.969 kB / 0.6541 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.863e-06/0.174, allocations: 0 / 0.6541 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.44e-05/0.174, allocations: 0 / 0.6541 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.174, allocations: 0 / 0.6541 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.364e-05/0.1741, allocations: 75.28 kB / 0.6542 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1741, allocations: 0 / 0.6542 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000241/0.1743, allocations: 31.92 kB / 0.6542 GB, free: 15.47 MB / 0.4981 GB 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.0005606/0.1749, allocations: 0.6357 MB / 0.6548 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.718e-05/0.175, allocations: 12.03 kB / 0.6548 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.175, allocations: 0 / 0.6548 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.969e-06/0.175, allocations: 0 / 0.6548 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.1751, allocations: 5.656 kB / 0.6548 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003196/0.1755, allocations: 122.6 kB / 0.6549 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.1758, allocations: 0.6729 MB / 0.6556 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.275e-05/0.1758, allocations: 4 kB / 0.6556 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.758e-05/0.1758, allocations: 11.44 kB / 0.6556 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1758, allocations: 4.125 kB / 0.6556 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/0.198, allocations: 1.398 MB / 0.657 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.002/8.2, allocations: 7.797 kB / 0.657 GB, free: 12.58 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.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_Functions_Examples_BesselY1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1)