Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.Functions.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_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.0013/0.0013, allocations: 105.5 kB / 16.41 MB, free: 6.469 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.001252/0.001252, allocations: 191.9 kB / 17.34 MB, free: 5.75 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8098/0.8098, allocations: 126.7 MB / 417.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 70.53 kB / 0.5736 GB, free: 27.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.139, allocations: 78.87 MB / 0.6506 GB, free: 3.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.002151/0.1412, allocations: 0.5688 MB / 0.6512 GB, free: 2.961 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005863/0.1418, allocations: 191.7 kB / 0.6513 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.941e-05/0.1419, allocations: 0 / 0.6513 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.365e-05/0.1419, allocations: 0 / 0.6513 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.672e-06/0.1419, allocations: 0 / 0.6513 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004681/0.1424, allocations: 55.81 kB / 0.6514 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.416e-05/0.1425, allocations: 0 / 0.6514 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.1425, allocations: 8 kB / 0.6514 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.186e-05/0.1425, allocations: 0 / 0.6514 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.808e-05/0.1425, allocations: 0 / 0.6514 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.031e-06/0.1426, allocations: 0 / 0.6514 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.1427, allocations: 63.88 kB / 0.6515 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.337e-06/0.1427, allocations: 3.984 kB / 0.6515 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.368e-05/0.1428, allocations: 0 / 0.6515 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.1429, allocations: 36.11 kB / 0.6515 GB, free: 2.609 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1429, allocations: 0 / 0.6515 GB, free: 2.609 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1429, allocations: 0 / 0.6515 GB, free: 2.609 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1429, allocations: 0 / 0.6515 GB, free: 2.609 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003343/0.1433, allocations: 327.5 kB / 0.6518 GB, free: 2.238 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1433, allocations: 8.031 kB / 0.6518 GB, free: 2.23 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.566e-05/0.1433, allocations: 30.75 kB / 0.6518 GB, free: 2.191 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.338e-05/0.1434, allocations: 4.922 kB / 0.6518 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.1435, allocations: 164.3 kB / 0.652 GB, free: 1.988 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.1435, allocations: 384 / 0.652 GB, free: 1.988 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.1435, allocations: 4.375 kB / 0.652 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.378e-05/0.1436, allocations: 26.27 kB / 0.652 GB, free: 1.953 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1436, allocations: 3.938 kB / 0.652 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.1436, allocations: 4 kB / 0.652 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1436, allocations: 0 / 0.652 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.847e-05/0.1437, allocations: 4 kB / 0.652 GB, free: 1.941 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001455/0.1438, allocations: 149.7 kB / 0.6522 GB, free: 1.746 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.338e-05/0.1439, allocations: 18.52 kB / 0.6522 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.766e-05/0.1439, allocations: 8.953 kB / 0.6522 GB, free: 1.707 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007512/0.1446, allocations: 453.5 kB / 0.6526 GB, free: 1.172 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.1447, allocations: 30.56 kB / 0.6527 GB, free: 1.133 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.1447, allocations: 0 / 0.6527 GB, free: 1.133 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001381/0.1448, allocations: 41.62 kB / 0.6527 GB, free: 1.086 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.1449, allocations: 51.41 kB / 0.6528 GB, free: 1.023 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.389e-05/0.1449, allocations: 93.98 kB / 0.6529 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.145, allocations: 25.7 kB / 0.6529 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.291e-05/0.145, allocations: 88.06 kB / 0.653 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.145, allocations: 3.953 kB / 0.653 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.1451, allocations: 17.72 kB / 0.653 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1452, allocations: 310.8 kB / 0.6533 GB, free: 472 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.237e-06/0.1452, allocations: 0 / 0.6533 GB, free: 472 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.145e-05/0.1452, allocations: 3.984 kB / 0.6533 GB, free: 468 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.242e-05/0.1453, allocations: 16.86 kB / 0.6533 GB, free: 448 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.1453, allocations: 4 kB / 0.6533 GB, free: 444 kB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.068e-05/0.1453, allocations: 33.7 kB / 0.6533 GB, free: 404 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1454, allocations: 8 kB / 0.6533 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.1454, allocations: 3.938 kB / 0.6533 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1454, allocations: 0 / 0.6533 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.128e-05/0.1455, allocations: 3.938 kB / 0.6534 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.1455, allocations: 0 / 0.6534 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.605e-05/0.1455, allocations: 4 kB / 0.6534 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-06/0.1455, allocations: 4.031 kB / 0.6534 GB, free: 380 kB / 494.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 (1): * Single equations (assignments): 1 * 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 7.415e-05/0.1456, allocations: 109.8 kB / 0.6535 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.572e-06/0.1456, allocations: 0 / 0.6535 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.344e-05/0.1457, allocations: 36.77 kB / 0.6535 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1457, allocations: 0 / 0.6535 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1457, allocations: 3.938 kB / 0.6535 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.1457, allocations: 4 kB / 0.6535 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.1458, allocations: 149.7 kB / 0.6536 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1458, allocations: 0 / 0.6536 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.113e-05/0.1458, allocations: 4.031 kB / 0.6537 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1458, allocations: 0 / 0.6537 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/0.1459, allocations: 7.938 kB / 0.6537 GB, free: 0 / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.1459, allocations: 0 / 0.6537 GB, free: 0 / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-05/0.1459, allocations: 112 / 0.6537 GB, free: 16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.317e-05/0.146, allocations: 57.06 kB / 0.6537 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/0.146, allocations: 81.11 kB / 0.6538 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.146, allocations: 7.938 kB / 0.6538 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.093e-06/0.1461, allocations: 4.031 kB / 0.6538 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.143e-05/0.1461, allocations: 0 / 0.6538 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-06/0.1461, allocations: 0 / 0.6538 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.754e-05/0.1461, allocations: 77.14 kB / 0.6539 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1461, allocations: 0 / 0.6539 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002031/0.1463, allocations: 15.94 kB / 0.6539 GB, free: 15.72 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 (1): * Single equations (assignments): 1 * 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.0004887/0.1468, allocations: 0.624 MB / 0.6545 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.472e-05/0.1469, allocations: 4 kB / 0.6545 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1469, allocations: 0 / 0.6545 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.68e-06/0.1469, allocations: 3.828 kB / 0.6545 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.1471, allocations: 9.875 kB / 0.6545 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00028/0.1473, allocations: 114.7 kB / 0.6546 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.1476, allocations: 0.669 MB / 0.6553 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.232e-05/0.1476, allocations: 4 kB / 0.6553 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.733e-05/0.1477, allocations: 11.44 kB / 0.6553 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1477, allocations: 3.938 kB / 0.6553 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02073/0.1684, allocations: 1.136 MB / 0.6564 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.892/8.061, allocations: 3.641 kB / 0.6564 GB, free: 13.13 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.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_Functions_Examples_BesselJ0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)