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.001314/0.001314, allocations: 104.6 kB / 16.4 MB, free: 6.465 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.001238/0.001238, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8156/0.8156, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 69.47 kB / 0.5735 GB, free: 27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1435, allocations: 78.87 MB / 0.6506 GB, free: 3.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselY0): time 0.002435/0.146, allocations: 1.411 MB / 0.6519 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006625/0.1467, allocations: 353.5 kB / 0.6523 GB, free: 1.844 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.853e-05/0.1467, allocations: 4 kB / 0.6523 GB, free: 1.84 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.532e-05/0.1468, allocations: 3.938 kB / 0.6523 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.304e-05/0.1468, allocations: 3.938 kB / 0.6523 GB, free: 1.832 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.1472, allocations: 103.7 kB / 0.6524 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.011e-05/0.1473, allocations: 15.94 kB / 0.6524 GB, free: 1.715 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.632e-05/0.1474, allocations: 11.98 kB / 0.6524 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.128e-05/0.1474, allocations: 4 kB / 0.6524 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.944e-05/0.1475, allocations: 23.91 kB / 0.6524 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.556e-06/0.1475, allocations: 0 / 0.6524 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002205/0.1477, allocations: 119.8 kB / 0.6526 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.152e-05/0.1477, allocations: 4 kB / 0.6526 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.455e-05/0.1477, allocations: 15.91 kB / 0.6526 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.1479, allocations: 87.97 kB / 0.6527 GB, free: 1.453 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1479, allocations: 4 kB / 0.6527 GB, free: 1.449 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.148, allocations: 0 / 0.6527 GB, free: 1.449 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.148, allocations: 0 / 0.6527 GB, free: 1.449 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.0004663/0.1484, allocations: 355.3 kB / 0.653 GB, free: 1.051 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.1485, allocations: 12.03 kB / 0.653 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.272e-05/0.1485, allocations: 30.75 kB / 0.653 GB, free: 1 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.888e-05/0.1485, allocations: 0.9375 kB / 0.653 GB, free: 1 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.1487, allocations: 168.4 kB / 0.6532 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.896e-06/0.1487, allocations: 384 / 0.6532 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.1487, allocations: 384 / 0.6532 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.1489, allocations: 54.17 kB / 0.6533 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1489, allocations: 3.938 kB / 0.6533 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.1489, allocations: 7.938 kB / 0.6533 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1489, allocations: 0 / 0.6533 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.1491, allocations: 31.97 kB / 0.6533 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003118/0.1494, allocations: 256.9 kB / 0.6535 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.1495, allocations: 38.5 kB / 0.6536 GB, free: 356 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.757e-05/0.1496, allocations: 20.91 kB / 0.6536 GB, free: 332 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007145/0.1504, allocations: 461.5 kB / 0.654 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.1504, allocations: 38.5 kB / 0.6541 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.432e-06/0.1504, allocations: 0 / 0.6541 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003442/0.1508, allocations: 81.64 kB / 0.6542 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.1508, allocations: 51.41 kB / 0.6542 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.723e-05/0.1509, allocations: 97.84 kB / 0.6543 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.1509, allocations: 29.69 kB / 0.6543 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.094e-05/0.151, allocations: 100.1 kB / 0.6544 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.293e-05/0.151, allocations: 3.953 kB / 0.6544 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.151, allocations: 9.719 kB / 0.6544 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1512, allocations: 318.8 kB / 0.6547 GB, free: 15 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.383e-05/0.1512, allocations: 15.97 kB / 0.6548 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.578e-05/0.1513, allocations: 19.92 kB / 0.6548 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.1515, allocations: 40.89 kB / 0.6548 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.1515, allocations: 3.938 kB / 0.6548 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001986/0.1517, allocations: 65.66 kB / 0.6549 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.1517, allocations: 4 kB / 0.6549 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1518, allocations: 0 / 0.6549 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.1518, allocations: 0 / 0.6549 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.978e-05/0.1519, allocations: 11.98 kB / 0.6549 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1519, allocations: 4.031 kB / 0.6549 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.492e-05/0.1519, allocations: 4 kB / 0.6549 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.1519, allocations: 0 / 0.6549 GB, free: 14.83 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 9.1e-05/0.152, allocations: 121.7 kB / 0.655 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.1521, allocations: 7.953 kB / 0.655 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.1523, allocations: 64.78 kB / 0.6551 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1523, allocations: 4.031 kB / 0.6551 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1523, allocations: 0 / 0.6551 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1523, allocations: 4 kB / 0.6551 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.1525, allocations: 157.6 kB / 0.6552 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1525, allocations: 3.984 kB / 0.6552 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.497e-05/0.1526, allocations: 4 kB / 0.6553 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1526, allocations: 0 / 0.6553 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.1526, allocations: 4 kB / 0.6553 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1526, allocations: 3.938 kB / 0.6553 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1526, allocations: 0 / 0.6553 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.1529, allocations: 171.4 kB / 0.6554 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.479e-05/0.1529, allocations: 81.09 kB / 0.6555 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.1529, allocations: 0 / 0.6555 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.532e-05/0.153, allocations: 8 kB / 0.6555 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.1531, allocations: 3.984 kB / 0.6555 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.1531, allocations: 4.031 kB / 0.6555 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.8e-05/0.1531, allocations: 83.28 kB / 0.6556 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1531, allocations: 3.938 kB / 0.6556 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002563/0.1534, allocations: 27.94 kB / 0.6556 GB, free: 13.99 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.0006875/0.1541, allocations: 0.7435 MB / 0.6564 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002149/0.1543, allocations: 43.95 kB / 0.6564 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1543, allocations: 0 / 0.6564 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.628e-05/0.1544, allocations: 19.98 kB / 0.6564 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.1546, allocations: 1.875 kB / 0.6564 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004011/0.155, allocations: 139.2 kB / 0.6565 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.1554, allocations: 0.6729 MB / 0.6572 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.727e-05/0.1554, allocations: 12.05 kB / 0.6572 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.1555, allocations: 11.44 kB / 0.6572 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1555, allocations: 0 / 0.6572 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0221/0.1776, allocations: 1.742 MB / 0.6589 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.186/8.364, allocations: 11.38 kB / 0.6589 GB, free: 10.57 MB / 0.4981 GB (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)