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.001102/0.001103, allocations: 101.9 kB / 16.27 MB, free: 5.93 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.001147/0.001147, allocations: 187.2 kB / 17.2 MB, free: 5.574 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.323/1.323, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.736/0.736, allocations: 122.9 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 67.88 kB / 0.4912 GB, free: 7.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3193, allocations: 77.92 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselY1): time 0.002223/0.3216, allocations: 1.415 MB / 0.5687 GB, free: 31.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005584/0.3222, allocations: 359 kB / 0.569 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.611e-05/0.3222, allocations: 2.031 kB / 0.569 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.161e-05/0.3222, allocations: 3.938 kB / 0.569 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.726e-05/0.3223, allocations: 2.781 kB / 0.569 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000398/0.3227, allocations: 111 kB / 0.5691 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.82e-05/0.3227, allocations: 22.67 kB / 0.5691 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.393e-05/0.3228, allocations: 10.61 kB / 0.5692 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.358e-05/0.3229, allocations: 4.312 kB / 0.5692 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.299e-05/0.3229, allocations: 13.39 kB / 0.5692 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.357e-06/0.3229, allocations: 3 kB / 0.5692 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002112/0.3231, allocations: 130.8 kB / 0.5693 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.408e-06/0.3231, allocations: 1.5 kB / 0.5693 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.375e-05/0.3232, allocations: 14.81 kB / 0.5693 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.3233, allocations: 86.33 kB / 0.5694 GB, free: 31.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3234, allocations: 7.094 kB / 0.5694 GB, free: 31.31 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3234, allocations: 0 / 0.5694 GB, free: 31.31 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.3234, allocations: 0 / 0.5694 GB, free: 31.31 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.0003454/0.3237, allocations: 358.7 kB / 0.5697 GB, free: 30.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.3238, allocations: 11.44 kB / 0.5698 GB, free: 30.94 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.128e-05/0.3238, allocations: 35.91 kB / 0.5698 GB, free: 30.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.17e-05/0.3238, allocations: 2.922 kB / 0.5698 GB, free: 30.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.486e-05/0.3239, allocations: 163.3 kB / 0.5699 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.3239, allocations: 2.906 kB / 0.5699 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.986e-06/0.3239, allocations: 1.375 kB / 0.57 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.3241, allocations: 50.39 kB / 0.57 GB, free: 30.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-06/0.3241, allocations: 4.969 kB / 0.57 GB, free: 30.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.3241, allocations: 0 / 0.57 GB, free: 30.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3241, allocations: 1.562 kB / 0.57 GB, free: 30.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.3243, allocations: 37.58 kB / 0.57 GB, free: 30.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002164/0.3245, allocations: 251.1 kB / 0.5703 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.3246, allocations: 42.77 kB / 0.5703 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.591e-05/0.3247, allocations: 24 kB / 0.5703 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005824/0.3253, allocations: 468.2 kB / 0.5708 GB, free: 29.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.261e-05/0.3253, allocations: 32.2 kB / 0.5708 GB, free: 29.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.3253, allocations: 1 kB / 0.5708 GB, free: 29.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003253/0.3257, allocations: 89.61 kB / 0.5709 GB, free: 29.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.856e-05/0.3257, allocations: 52.44 kB / 0.571 GB, free: 29.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.65e-05/0.3257, allocations: 101.4 kB / 0.5711 GB, free: 29.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.3258, allocations: 27.86 kB / 0.5711 GB, free: 29.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.222e-05/0.3258, allocations: 82.67 kB / 0.5712 GB, free: 29.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.497e-05/0.3258, allocations: 9.781 kB / 0.5712 GB, free: 29.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/0.3258, allocations: 12.62 kB / 0.5712 GB, free: 29.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.088e-05/0.3259, allocations: 314.5 kB / 0.5715 GB, free: 29.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.944e-05/0.326, allocations: 18.44 kB / 0.5715 GB, free: 29.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.954e-05/0.326, allocations: 15.22 kB / 0.5715 GB, free: 29.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.3262, allocations: 42.84 kB / 0.5716 GB, free: 29.15 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3262, allocations: 9.75 kB / 0.5716 GB, free: 29.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001777/0.3264, allocations: 66.53 kB / 0.5716 GB, free: 29.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.3264, allocations: 5.906 kB / 0.5716 GB, free: 29.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.3264, allocations: 1.844 kB / 0.5716 GB, free: 29.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.3264, allocations: 0 / 0.5716 GB, free: 29.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.659e-05/0.3265, allocations: 9.609 kB / 0.5716 GB, free: 29.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.3265, allocations: 5.094 kB / 0.5716 GB, free: 29.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.584e-05/0.3266, allocations: 6.531 kB / 0.5717 GB, free: 29.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.3266, allocations: 5.828 kB / 0.5717 GB, free: 29.09 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 4.38e-05/0.3267, allocations: 113.8 kB / 0.5718 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.3267, allocations: 1.156 kB / 0.5718 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.3269, allocations: 79.53 kB / 0.5718 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3269, allocations: 4.312 kB / 0.5718 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3269, allocations: 0 / 0.5718 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3269, allocations: 1.125 kB / 0.5719 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.327, allocations: 158.9 kB / 0.572 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.327, allocations: 1.188 kB / 0.572 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.557e-05/0.3271, allocations: 8.859 kB / 0.572 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3271, allocations: 1.094 kB / 0.572 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.3271, allocations: 0 / 0.572 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3271, allocations: 3.531 kB / 0.572 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3271, allocations: 0 / 0.572 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.3273, allocations: 168.1 kB / 0.5722 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.749e-05/0.3273, allocations: 79.53 kB / 0.5723 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.3274, allocations: 0.5625 kB / 0.5723 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.3274, allocations: 6.641 kB / 0.5723 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.3275, allocations: 4.078 kB / 0.5723 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.3275, allocations: 0.6562 kB / 0.5723 GB, free: 28.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.142e-05/0.3275, allocations: 85.05 kB / 0.5723 GB, free: 28.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3275, allocations: 0 / 0.5723 GB, free: 28.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.3278, allocations: 32.97 kB / 0.5724 GB, free: 28.41 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.0004807/0.3283, allocations: 0.7317 MB / 0.5731 GB, free: 27.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002023/0.3285, allocations: 39.75 kB / 0.5731 GB, free: 27.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3285, allocations: 2 kB / 0.5731 GB, free: 27.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.31e-05/0.3286, allocations: 21.22 kB / 0.5732 GB, free: 27.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.3288, allocations: 5.453 kB / 0.5732 GB, free: 27.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003433/0.3291, allocations: 141.5 kB / 0.5733 GB, free: 27.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.932e-05/0.3293, allocations: 0.679 MB / 0.574 GB, free: 26.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.926e-05/0.3293, allocations: 8.875 kB / 0.574 GB, free: 26.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.3293, allocations: 13.45 kB / 0.574 GB, free: 26.86 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3293, allocations: 0 / 0.574 GB, free: 26.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01737/0.3467, allocations: 1.732 MB / 0.5757 GB, free: 26.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.122/7.469, allocations: 17.75 kB / 0.5757 GB, free: 26.52 MB / 446.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)