Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.Examples.BesselY0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselY0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_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.001075/0.001075, allocations: 102.7 kB / 16.27 MB, free: 6.309 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.001078/0.001078, allocations: 191.6 kB / 17.19 MB, free: 5.93 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.266/1.266, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7301/0.7301, allocations: 122.9 MB / 413.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 63.89 kB / 0.4912 GB, free: 7.406 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3691, allocations: 77.92 MB / 0.5673 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselY0): time 0.002844/0.372, allocations: 1.414 MB / 0.5687 GB, free: 31.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007386/0.3728, allocations: 347.9 kB / 0.569 GB, free: 31.58 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.473e-05/0.3728, allocations: 0 / 0.569 GB, free: 31.58 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.716e-05/0.3728, allocations: 1.188 kB / 0.569 GB, free: 31.58 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.283e-05/0.3729, allocations: 6.844 kB / 0.569 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004656/0.3734, allocations: 102.9 kB / 0.5691 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.538e-05/0.3735, allocations: 23.44 kB / 0.5691 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.3736, allocations: 9.031 kB / 0.5691 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.443e-05/0.3736, allocations: 7.156 kB / 0.5691 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.036e-05/0.3737, allocations: 16.52 kB / 0.5692 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.3737, allocations: 2.906 kB / 0.5692 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/0.3739, allocations: 119.4 kB / 0.5693 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.101e-05/0.3739, allocations: 1.172 kB / 0.5693 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.175e-05/0.374, allocations: 12.17 kB / 0.5693 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.3741, allocations: 90.53 kB / 0.5694 GB, free: 31.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3742, allocations: 0 / 0.5694 GB, free: 31.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3742, allocations: 0 / 0.5694 GB, free: 31.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.3742, allocations: 0 / 0.5694 GB, free: 31.43 MB / 446.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.0003754/0.3745, allocations: 354.5 kB / 0.5697 GB, free: 31.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.3746, allocations: 14.31 kB / 0.5697 GB, free: 31.06 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.221e-05/0.3746, allocations: 32.25 kB / 0.5698 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.266e-05/0.3746, allocations: 7.516 kB / 0.5698 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7e-05/0.3747, allocations: 168.6 kB / 0.5699 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.3747, allocations: 384 / 0.5699 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.3748, allocations: 7.625 kB / 0.5699 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.3749, allocations: 48.83 kB / 0.57 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.3749, allocations: 5.094 kB / 0.57 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.375, allocations: 4 kB / 0.57 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.375, allocations: 2 kB / 0.57 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.3751, allocations: 32.78 kB / 0.57 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002568/0.3754, allocations: 248.5 kB / 0.5703 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.3755, allocations: 42.09 kB / 0.5703 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.706e-05/0.3756, allocations: 19.72 kB / 0.5703 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005689/0.3762, allocations: 464.2 kB / 0.5708 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.3762, allocations: 36.5 kB / 0.5708 GB, free: 29.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.3762, allocations: 0 / 0.5708 GB, free: 29.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003583/0.3766, allocations: 82 kB / 0.5709 GB, free: 29.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.3766, allocations: 52.59 kB / 0.5709 GB, free: 29.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.286e-05/0.3767, allocations: 101.3 kB / 0.571 GB, free: 29.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.3767, allocations: 28.2 kB / 0.571 GB, free: 29.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.645e-05/0.3767, allocations: 86.3 kB / 0.5711 GB, free: 29.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.3768, allocations: 4.516 kB / 0.5711 GB, free: 29.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/0.3768, allocations: 18.34 kB / 0.5711 GB, free: 29.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.303e-05/0.3769, allocations: 314.4 kB / 0.5714 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.566e-05/0.377, allocations: 17.41 kB / 0.5715 GB, free: 29.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.557e-05/0.377, allocations: 19.84 kB / 0.5715 GB, free: 29.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.3772, allocations: 38.94 kB / 0.5715 GB, free: 29.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3772, allocations: 3.938 kB / 0.5715 GB, free: 29.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001882/0.3774, allocations: 63.53 kB / 0.5716 GB, free: 29.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3774, allocations: 7.609 kB / 0.5716 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3774, allocations: 0.5312 kB / 0.5716 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3774, allocations: 0.625 kB / 0.5716 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.38e-05/0.3775, allocations: 9.609 kB / 0.5716 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3775, allocations: 0 / 0.5716 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.568e-05/0.3776, allocations: 8.453 kB / 0.5716 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.3776, allocations: 3.938 kB / 0.5716 GB, free: 29.22 MB / 446.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 5.479e-05/0.3777, allocations: 121.6 kB / 0.5717 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.3777, allocations: 6.375 kB / 0.5717 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.378, allocations: 67.97 kB / 0.5718 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.378, allocations: 1.344 kB / 0.5718 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.378, allocations: 1.172 kB / 0.5718 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.378, allocations: 0.5 kB / 0.5718 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.3781, allocations: 166.2 kB / 0.572 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3781, allocations: 0 / 0.572 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.765e-05/0.3782, allocations: 9.859 kB / 0.572 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3782, allocations: 0 / 0.572 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.3782, allocations: 1.125 kB / 0.572 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3782, allocations: 1.25 kB / 0.572 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3782, allocations: 192 / 0.572 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.3784, allocations: 165.3 kB / 0.5721 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.002e-05/0.3784, allocations: 83.06 kB / 0.5722 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.3785, allocations: 1.812 kB / 0.5722 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.425e-05/0.3785, allocations: 11.36 kB / 0.5722 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.3786, allocations: 2.75 kB / 0.5722 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.3786, allocations: 5.25 kB / 0.5722 GB, free: 28.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.392e-05/0.3786, allocations: 79.97 kB / 0.5723 GB, free: 28.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3786, allocations: 1.406 kB / 0.5723 GB, free: 28.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.3789, allocations: 29.23 kB / 0.5723 GB, free: 28.53 MB / 446.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.0005076/0.3794, allocations: 0.7333 MB / 0.573 GB, free: 27.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00022/0.3796, allocations: 41.98 kB / 0.5731 GB, free: 27.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3796, allocations: 4.938 kB / 0.5731 GB, free: 27.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.299e-05/0.3797, allocations: 16.17 kB / 0.5731 GB, free: 27.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.38, allocations: 5.266 kB / 0.5731 GB, free: 27.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/0.3803, allocations: 156.1 kB / 0.5733 GB, free: 27.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.667e-05/0.3804, allocations: 0.6781 MB / 0.5739 GB, free: 26.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.005e-05/0.3805, allocations: 1.781 kB / 0.5739 GB, free: 26.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.633e-05/0.3805, allocations: 10.25 kB / 0.5739 GB, free: 26.98 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3805, allocations: 3.938 kB / 0.5739 GB, free: 26.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01641/0.3969, allocations: 1.713 MB / 0.5756 GB, free: 26.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.103/7.5, allocations: 4.312 kB / 0.5756 GB, free: 26.64 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselY0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselY0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.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_Examples_BesselY0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselY0.pipe 2>&1)