Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.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.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1",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.001694/0.001694, allocations: 103.4 kB / 16.27 MB, free: 5.977 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.001866/0.001866, allocations: 188.5 kB / 17.19 MB, free: 5.605 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.292/1.292, 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.7685/0.7685, allocations: 122.9 MB / 413.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 59.91 kB / 0.4912 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3472, allocations: 77.92 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ1): time 0.002191/0.3494, allocations: 1.42 MB / 0.5687 GB, free: 31.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004299/0.3499, allocations: 259.3 kB / 0.5689 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.268e-05/0.3499, allocations: 2.906 kB / 0.5689 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.216e-05/0.3499, allocations: 0.7031 kB / 0.5689 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.588e-05/0.35, allocations: 5.062 kB / 0.5689 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.3503, allocations: 59.66 kB / 0.569 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.396e-05/0.3504, allocations: 28.59 kB / 0.569 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.792e-05/0.3505, allocations: 4.781 kB / 0.569 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.485e-05/0.3505, allocations: 8.875 kB / 0.569 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.357e-05/0.3505, allocations: 10.25 kB / 0.569 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.3506, allocations: 6.859 kB / 0.569 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.3507, allocations: 59.39 kB / 0.5691 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.3507, allocations: 6.609 kB / 0.5691 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.826e-05/0.3507, allocations: 7.141 kB / 0.5691 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.3509, allocations: 57.62 kB / 0.5692 GB, free: 31.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3509, allocations: 0 / 0.5692 GB, free: 31.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3509, allocations: 1.641 kB / 0.5692 GB, free: 31.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.319e-06/0.3509, allocations: 1.094 kB / 0.5692 GB, free: 31.42 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.0003415/0.3512, allocations: 348.3 kB / 0.5695 GB, free: 31.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.3513, allocations: 9.031 kB / 0.5695 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.948e-05/0.3513, allocations: 31.84 kB / 0.5695 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.131e-05/0.3513, allocations: 3.844 kB / 0.5695 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.627e-05/0.3514, allocations: 164.5 kB / 0.5697 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.563e-06/0.3514, allocations: 384 / 0.5697 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.3514, allocations: 2.625 kB / 0.5697 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.3516, allocations: 48.95 kB / 0.5697 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.004e-06/0.3516, allocations: 5.531 kB / 0.5697 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.3516, allocations: 3.938 kB / 0.5698 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3516, allocations: 1.969 kB / 0.5698 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.3518, allocations: 38.47 kB / 0.5698 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002302/0.352, allocations: 260.1 kB / 0.57 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.3521, allocations: 40.11 kB / 0.5701 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.632e-05/0.3522, allocations: 20.48 kB / 0.5701 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005493/0.3528, allocations: 461.3 kB / 0.5705 GB, free: 29.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.187e-05/0.3528, allocations: 36.53 kB / 0.5706 GB, free: 29.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.3528, allocations: 0 / 0.5706 GB, free: 29.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003228/0.3531, allocations: 83.91 kB / 0.5707 GB, free: 29.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.3532, allocations: 53.09 kB / 0.5707 GB, free: 29.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.762e-05/0.3532, allocations: 100.2 kB / 0.5708 GB, free: 29.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.744e-06/0.3532, allocations: 30.92 kB / 0.5708 GB, free: 29.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.136e-05/0.3533, allocations: 81.94 kB / 0.5709 GB, free: 29.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.358e-05/0.3533, allocations: 6.297 kB / 0.5709 GB, free: 29.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/0.3533, allocations: 13.8 kB / 0.5709 GB, free: 29.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.006e-05/0.3534, allocations: 317 kB / 0.5712 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.958e-05/0.3535, allocations: 14.77 kB / 0.5712 GB, free: 29.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.98e-05/0.3535, allocations: 18.77 kB / 0.5713 GB, free: 29.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.3537, allocations: 42.38 kB / 0.5713 GB, free: 29.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3537, allocations: 3.938 kB / 0.5713 GB, free: 29.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001773/0.3539, allocations: 64.47 kB / 0.5714 GB, free: 29.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.3539, allocations: 5.844 kB / 0.5714 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.3539, allocations: 2.156 kB / 0.5714 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3539, allocations: 0 / 0.5714 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.619e-05/0.354, allocations: 8.547 kB / 0.5714 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.354, allocations: 3.938 kB / 0.5714 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.621e-05/0.3541, allocations: 9.781 kB / 0.5714 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.3541, allocations: 1.531 kB / 0.5714 GB, free: 29.21 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.082e-05/0.3541, allocations: 117.5 kB / 0.5715 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.434e-05/0.3542, allocations: 5.219 kB / 0.5715 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/0.3544, allocations: 72.94 kB / 0.5716 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3544, allocations: 1.156 kB / 0.5716 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3544, allocations: 0.6562 kB / 0.5716 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.3544, allocations: 1.438 kB / 0.5716 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.3545, allocations: 160.8 kB / 0.5717 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3545, allocations: 0 / 0.5717 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.443e-05/0.3546, allocations: 8.75 kB / 0.5717 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3546, allocations: 1.312 kB / 0.5717 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.3546, allocations: 1.984 kB / 0.5717 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3546, allocations: 1.406 kB / 0.5718 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3546, allocations: 0.6562 kB / 0.5718 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.3548, allocations: 171.9 kB / 0.5719 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.573e-05/0.3548, allocations: 78.92 kB / 0.572 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.3548, allocations: 3.562 kB / 0.572 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.101e-05/0.3549, allocations: 5.438 kB / 0.572 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.428e-05/0.3549, allocations: 6.297 kB / 0.572 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.355, allocations: 5.797 kB / 0.572 GB, free: 28.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.017e-05/0.355, allocations: 80.64 kB / 0.5721 GB, free: 28.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.355, allocations: 0.6562 kB / 0.5721 GB, free: 28.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002335/0.3552, allocations: 18.23 kB / 0.5721 GB, free: 28.52 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.0004084/0.3556, allocations: 0.712 MB / 0.5728 GB, free: 27.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001964/0.3558, allocations: 41.48 kB / 0.5728 GB, free: 27.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3559, allocations: 0 / 0.5728 GB, free: 27.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.562e-05/0.3559, allocations: 22.06 kB / 0.5729 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.0002126/0.3562, allocations: 6.344 kB / 0.5729 GB, free: 27.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.3565, allocations: 142.5 kB / 0.573 GB, free: 27.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.62e-05/0.3566, allocations: 0.6779 MB / 0.5737 GB, free: 26.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.841e-05/0.3566, allocations: 0 / 0.5737 GB, free: 26.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.268e-05/0.3566, allocations: 9.5 kB / 0.5737 GB, free: 26.99 MB / 446.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3567, allocations: 0 / 0.5737 GB, free: 26.99 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01587/0.3725, allocations: 1.481 MB / 0.5751 GB, free: 26.65 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.126/7.498, allocations: 7.516 kB / 0.5751 GB, free: 26.64 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1)