Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselY0.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.BesselY0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselY0",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.001107/0.001107, allocations: 106.8 kB / 16.4 MB, free: 6.406 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.001093/0.001093, allocations: 193.2 kB / 17.34 MB, free: 5.695 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7865/0.7865, allocations: 122.9 MB / 414.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 57.75 kB / 0.568 GB, free: 28.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1815, allocations: 77.94 MB / 0.6441 GB, free: 9.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselY0): time 0.00179/0.1833, allocations: 0.5688 MB / 0.6447 GB, free: 8.93 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006841/0.184, allocations: 283.3 kB / 0.6449 GB, free: 8.652 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.58e-05/0.184, allocations: 0 / 0.6449 GB, free: 8.652 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.007e-05/0.1841, allocations: 0 / 0.6449 GB, free: 8.652 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.775e-06/0.1841, allocations: 0 / 0.6449 GB, free: 8.652 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005662/0.1847, allocations: 99.72 kB / 0.645 GB, free: 8.555 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.869e-05/0.1847, allocations: 4 kB / 0.645 GB, free: 8.551 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.732e-05/0.1848, allocations: 0 / 0.645 GB, free: 8.551 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.689e-05/0.1848, allocations: 3.938 kB / 0.645 GB, free: 8.547 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.684e-05/0.1848, allocations: 3.938 kB / 0.645 GB, free: 8.543 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.724e-06/0.1848, allocations: 0 / 0.645 GB, free: 8.543 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002691/0.1851, allocations: 127.8 kB / 0.6452 GB, free: 8.418 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.081e-05/0.1851, allocations: 0 / 0.6452 GB, free: 8.418 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.932e-05/0.1852, allocations: 0 / 0.6452 GB, free: 8.418 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.1854, allocations: 76.03 kB / 0.6452 GB, free: 8.344 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1854, allocations: 4 kB / 0.6452 GB, free: 8.34 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1854, allocations: 0 / 0.6452 GB, free: 8.34 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1854, allocations: 0 / 0.6452 GB, free: 8.34 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.0003966/0.1858, allocations: 327.4 kB / 0.6455 GB, free: 7.969 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.1859, allocations: 12.62 kB / 0.6456 GB, free: 7.957 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.721e-05/0.1859, allocations: 30.75 kB / 0.6456 GB, free: 7.918 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.405e-05/0.1859, allocations: 4.938 kB / 0.6456 GB, free: 7.914 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.604e-05/0.186, allocations: 160.4 kB / 0.6457 GB, free: 7.719 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.1861, allocations: 384 / 0.6457 GB, free: 7.719 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.114e-06/0.1861, allocations: 384 / 0.6457 GB, free: 7.719 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.484e-05/0.1862, allocations: 38.25 kB / 0.6458 GB, free: 7.676 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1862, allocations: 7.922 kB / 0.6458 GB, free: 7.668 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.1862, allocations: 0 / 0.6458 GB, free: 7.668 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1862, allocations: 0 / 0.6458 GB, free: 7.668 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.142e-05/0.1862, allocations: 3.938 kB / 0.6458 GB, free: 7.664 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001313/0.1864, allocations: 145.7 kB / 0.6459 GB, free: 7.473 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.626e-05/0.1864, allocations: 22.52 kB / 0.646 GB, free: 7.441 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.611e-05/0.1864, allocations: 8.859 kB / 0.646 GB, free: 7.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007593/0.1872, allocations: 457.5 kB / 0.6464 GB, free: 6.891 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.1873, allocations: 34.56 kB / 0.6464 GB, free: 6.848 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.1873, allocations: 0 / 0.6464 GB, free: 6.848 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001392/0.1874, allocations: 45.56 kB / 0.6465 GB, free: 6.797 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.1874, allocations: 51.41 kB / 0.6465 GB, free: 6.734 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.463e-05/0.1875, allocations: 89.86 kB / 0.6466 GB, free: 6.637 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.1875, allocations: 25.7 kB / 0.6466 GB, free: 6.605 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.338e-05/0.1875, allocations: 80.14 kB / 0.6467 GB, free: 6.523 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.1876, allocations: 7.953 kB / 0.6467 GB, free: 6.516 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.1876, allocations: 13.72 kB / 0.6467 GB, free: 6.496 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.1877, allocations: 310.8 kB / 0.647 GB, free: 6.184 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.013e-05/0.1877, allocations: 4.125 kB / 0.647 GB, free: 6.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.961e-06/0.1877, allocations: 4 kB / 0.647 GB, free: 6.176 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.667e-05/0.1878, allocations: 4.859 kB / 0.647 GB, free: 6.168 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1878, allocations: 4 kB / 0.647 GB, free: 6.164 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.286e-05/0.1878, allocations: 37.62 kB / 0.6471 GB, free: 6.121 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.1879, allocations: 4 kB / 0.6471 GB, free: 6.117 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.1879, allocations: 7.875 kB / 0.6471 GB, free: 6.109 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1879, allocations: 0 / 0.6471 GB, free: 6.109 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.246e-05/0.1879, allocations: 8.094 kB / 0.6471 GB, free: 6.102 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1879, allocations: 0 / 0.6471 GB, free: 6.102 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.005e-05/0.188, allocations: 0 / 0.6471 GB, free: 6.102 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.188, allocations: 0 / 0.6471 GB, free: 6.102 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 6.598e-05/0.188, allocations: 109.8 kB / 0.6472 GB, free: 5.984 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.435e-06/0.1881, allocations: 4 kB / 0.6472 GB, free: 5.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.142e-05/0.1881, allocations: 44.69 kB / 0.6472 GB, free: 5.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.1882, allocations: 4 kB / 0.6473 GB, free: 5.926 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1882, allocations: 32 / 0.6473 GB, free: 5.926 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1882, allocations: 4 kB / 0.6473 GB, free: 5.922 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.466e-05/0.1883, allocations: 145.7 kB / 0.6474 GB, free: 5.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1883, allocations: 0 / 0.6474 GB, free: 5.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.404e-05/0.1883, allocations: 4 kB / 0.6474 GB, free: 5.727 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1883, allocations: 0 / 0.6474 GB, free: 5.727 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.1883, allocations: 7.938 kB / 0.6474 GB, free: 5.719 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1883, allocations: 3.938 kB / 0.6474 GB, free: 5.715 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1883, allocations: 0 / 0.6474 GB, free: 5.715 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.891e-05/0.1884, allocations: 57.14 kB / 0.6475 GB, free: 5.641 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.363e-05/0.1884, allocations: 81.09 kB / 0.6475 GB, free: 5.543 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.1884, allocations: 3.938 kB / 0.6475 GB, free: 5.539 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-06/0.1885, allocations: 0 / 0.6475 GB, free: 5.539 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.038e-05/0.1885, allocations: 3.938 kB / 0.6475 GB, free: 5.535 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.1885, allocations: 0 / 0.6475 GB, free: 5.535 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.626e-05/0.1885, allocations: 83.28 kB / 0.6476 GB, free: 5.453 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1885, allocations: 0 / 0.6476 GB, free: 5.453 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002283/0.1888, allocations: 23.94 kB / 0.6477 GB, free: 5.43 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.0004595/0.1892, allocations: 0.6353 MB / 0.6483 GB, free: 4.766 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.967e-05/0.1893, allocations: 4 kB / 0.6483 GB, free: 4.762 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1893, allocations: 0 / 0.6483 GB, free: 4.762 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.68e-06/0.1893, allocations: 3.938 kB / 0.6483 GB, free: 4.758 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.1895, allocations: 7.938 kB / 0.6483 GB, free: 4.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.1898, allocations: 122.5 kB / 0.6484 GB, free: 4.59 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.19, allocations: 0.6691 MB / 0.6491 GB, free: 3.895 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.331e-05/0.19, allocations: 7.984 kB / 0.6491 GB, free: 3.887 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.785e-05/0.19, allocations: 7.438 kB / 0.6491 GB, free: 3.879 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.19, allocations: 0 / 0.6491 GB, free: 3.879 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01724/0.2073, allocations: 1.387 MB / 0.6504 GB, free: 2.574 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.462/7.669, allocations: 9.406 kB / 0.6504 GB, free: 2.566 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselY0_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_BesselY0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1)