Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.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.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0",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.001275/0.001275, allocations: 105.1 kB / 16.4 MB, free: 6.492 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.001263/0.001263, allocations: 191.9 kB / 17.34 MB, free: 5.766 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8192/0.8192, allocations: 126.7 MB / 417.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 65.28 kB / 0.5735 GB, free: 27.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1407, allocations: 78.86 MB / 0.6506 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ0): time 0.002473/0.1433, allocations: 1.423 MB / 0.6519 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005064/0.1438, allocations: 249.9 kB / 0.6522 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.297e-05/0.1438, allocations: 0 / 0.6522 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.217e-05/0.1438, allocations: 0 / 0.6522 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.987e-05/0.1439, allocations: 7.938 kB / 0.6522 GB, free: 1.914 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003321/0.1442, allocations: 63.81 kB / 0.6522 GB, free: 1.852 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.478e-05/0.1443, allocations: 27.86 kB / 0.6523 GB, free: 1.824 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.03e-05/0.1444, allocations: 7.984 kB / 0.6523 GB, free: 1.816 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.641e-05/0.1444, allocations: 8 kB / 0.6523 GB, free: 1.809 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.079e-05/0.1445, allocations: 11.91 kB / 0.6523 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.1445, allocations: 4 kB / 0.6523 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.1446, allocations: 55.95 kB / 0.6524 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.1447, allocations: 4 kB / 0.6524 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.236e-05/0.1447, allocations: 11.92 kB / 0.6524 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.1448, allocations: 64.02 kB / 0.6524 GB, free: 1.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1449, allocations: 0 / 0.6524 GB, free: 1.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1449, allocations: 0 / 0.6524 GB, free: 1.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1449, allocations: 0 / 0.6524 GB, free: 1.66 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004632/0.1453, allocations: 343.4 kB / 0.6528 GB, free: 1.273 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.1454, allocations: 8.031 kB / 0.6528 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.088e-05/0.1454, allocations: 30.75 kB / 0.6528 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.279e-05/0.1455, allocations: 4.938 kB / 0.6528 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.1456, allocations: 172.3 kB / 0.653 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.1456, allocations: 384 / 0.653 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.1456, allocations: 8.359 kB / 0.653 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.1458, allocations: 46.23 kB / 0.653 GB, free: 0.957 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1458, allocations: 7.875 kB / 0.653 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.1458, allocations: 4 kB / 0.653 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1458, allocations: 0 / 0.653 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.146, allocations: 31.97 kB / 0.6531 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003244/0.1463, allocations: 252.9 kB / 0.6533 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.1465, allocations: 34.5 kB / 0.6533 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.001e-05/0.1466, allocations: 24.91 kB / 0.6534 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000686/0.1473, allocations: 457.5 kB / 0.6538 GB, free: 8 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.1473, allocations: 38.5 kB / 0.6538 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.1473, allocations: 0 / 0.6538 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003465/0.1477, allocations: 77.73 kB / 0.6539 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.1477, allocations: 59.41 kB / 0.654 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.175e-05/0.1478, allocations: 101.8 kB / 0.6541 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.1478, allocations: 25.7 kB / 0.6541 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.377e-05/0.1479, allocations: 84.14 kB / 0.6542 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.1479, allocations: 7.953 kB / 0.6542 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.892e-05/0.148, allocations: 9.719 kB / 0.6542 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1481, allocations: 314.8 kB / 0.6545 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.425e-05/0.1482, allocations: 24 kB / 0.6545 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.657e-05/0.1483, allocations: 19.92 kB / 0.6545 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.1484, allocations: 36.83 kB / 0.6546 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1484, allocations: 3.938 kB / 0.6546 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001976/0.1486, allocations: 65.72 kB / 0.6546 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1487, allocations: 11.94 kB / 0.6546 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.1487, allocations: 0 / 0.6546 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.1487, allocations: 0 / 0.6546 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.841e-05/0.1488, allocations: 11.98 kB / 0.6547 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.1488, allocations: 4 kB / 0.6547 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.094e-05/0.1488, allocations: 0 / 0.6547 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.1488, allocations: 4 kB / 0.6547 GB, free: 15.05 MB / 0.4981 GB 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 8.685e-05/0.1489, allocations: 121.7 kB / 0.6548 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.149, allocations: 7.953 kB / 0.6548 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.1492, allocations: 68.78 kB / 0.6548 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1492, allocations: 0 / 0.6548 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1492, allocations: 0 / 0.6548 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.1492, allocations: 0 / 0.6548 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.1494, allocations: 161.6 kB / 0.655 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1494, allocations: 0 / 0.655 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.651e-05/0.1495, allocations: 12.03 kB / 0.655 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1495, allocations: 0 / 0.655 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.1495, allocations: 0 / 0.655 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1495, allocations: 0 / 0.655 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1495, allocations: 0 / 0.655 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.1498, allocations: 167.4 kB / 0.6552 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/0.1498, allocations: 89.12 kB / 0.6553 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.1498, allocations: 0 / 0.6553 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.381e-05/0.1499, allocations: 4 kB / 0.6553 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.15, allocations: 4.172 kB / 0.6553 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.15, allocations: 0 / 0.6553 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.726e-05/0.15, allocations: 87.27 kB / 0.6553 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.15, allocations: 0 / 0.6553 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002409/0.1503, allocations: 15.94 kB / 0.6554 GB, free: 14.23 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 (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.0006571/0.1509, allocations: 0.7278 MB / 0.6561 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000208/0.1511, allocations: 40 kB / 0.6561 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1512, allocations: 0 / 0.6561 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.936e-05/0.1513, allocations: 23.97 kB / 0.6561 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.1515, allocations: 1.875 kB / 0.6561 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003825/0.1519, allocations: 135.2 kB / 0.6563 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.1522, allocations: 0.6808 MB / 0.6569 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.971e-05/0.1522, allocations: 3.938 kB / 0.6569 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.176e-05/0.1523, allocations: 15.44 kB / 0.6569 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.1523, allocations: 0 / 0.6569 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.1759, allocations: 1.502 MB / 0.6584 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.029/8.205, allocations: 3 kB / 0.6584 GB, free: 11.08 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0_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_BesselJ0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1)