Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000872/0.000872, allocations: 76.55 kB / 19.93 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 173.9 kB / 23.21 MB, free: 1.336 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9308/0.9308, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5555/0.5555, allocations: 114 MB / 373.9 MB, free: 8.695 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.5543 GB, free: 2.684 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.623e-05/2.793e-05, allocations: 2.281 kB / 0.5543 GB, free: 2.68 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ1): time 0.001154/0.001182, allocations: 0.5813 MB / 0.5548 GB, free: 2.105 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0003649/0.001546, allocations: 179.3 kB / 0.555 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.25e-05/0.001559, allocations: 4 kB / 0.555 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.487e-05/0.001574, allocations: 0 / 0.555 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.753e-06/0.001581, allocations: 0 / 0.555 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003584/0.001939, allocations: 55.75 kB / 0.555 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 4.472e-05/0.001984, allocations: 4 kB / 0.5551 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.719e-05/0.002021, allocations: 0 / 0.5551 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 2.348e-05/0.002044, allocations: 0 / 0.5551 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 2.006e-05/0.002064, allocations: 0 / 0.5551 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.002074, allocations: 0 / 0.5551 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.002221, allocations: 67.8 kB / 0.5551 GB, free: 1.801 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.075e-05/0.002232, allocations: 4 kB / 0.5551 GB, free: 1.797 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.386e-05/0.002246, allocations: 4 kB / 0.5551 GB, free: 1.793 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.002353, allocations: 43.92 kB / 0.5552 GB, free: 1.75 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.002355, allocations: 0 / 0.5552 GB, free: 1.75 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.082e-06/0.002356, allocations: 0 / 0.5552 GB, free: 1.75 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.00236, allocations: 0 / 0.5552 GB, free: 1.75 MB / 0.5105 GB 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.0002296/0.002589, allocations: 242.4 kB / 0.5554 GB, free: 1.48 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.002628, allocations: 8.625 kB / 0.5554 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.769e-05/0.002656, allocations: 34.75 kB / 0.5554 GB, free: 1.43 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.403e-05/0.00268, allocations: 4.922 kB / 0.5554 GB, free: 1.426 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.277e-05/0.002733, allocations: 105.8 kB / 0.5555 GB, free: 1.297 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.002743, allocations: 4.375 kB / 0.5555 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.452e-06/0.002749, allocations: 384 / 0.5555 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.79e-05/0.002837, allocations: 30.2 kB / 0.5556 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.002845, allocations: 4.188 kB / 0.5556 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.002852, allocations: 384 / 0.5556 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.002858, allocations: 4.125 kB / 0.5556 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.716e-05/0.002875, allocations: 0 / 0.5556 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001203/0.002996, allocations: 120.8 kB / 0.5557 GB, free: 1.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.41e-05/0.00303, allocations: 22.5 kB / 0.5557 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.295e-05/0.003043, allocations: 4.859 kB / 0.5557 GB, free: 1.051 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004464/0.003489, allocations: 83.95 kB / 0.5558 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.003509, allocations: 34.5 kB / 0.5558 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/0.00351, allocations: 0 / 0.5558 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001191/0.003629, allocations: 33.69 kB / 0.5559 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.003656, allocations: 55.34 kB / 0.5559 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.635e-05/0.003683, allocations: 93.98 kB / 0.556 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.003693, allocations: 29.7 kB / 0.556 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.848e-05/0.003712, allocations: 80.14 kB / 0.5561 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.003738, allocations: 4 kB / 0.5561 GB, free: 0.5977 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.459e-05/0.003762, allocations: 13.72 kB / 0.5561 GB, free: 0.5781 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.329e-05/0.003836, allocations: 314.8 kB / 0.5564 GB, free: 268 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.065e-05/0.003846, allocations: 0 / 0.5564 GB, free: 268 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5e-06/0.003851, allocations: 3.938 kB / 0.5564 GB, free: 264 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.401e-05/0.003875, allocations: 12.84 kB / 0.5565 GB, free: 248 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.003877, allocations: 0 / 0.5565 GB, free: 248 kB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.136e-05/0.003918, allocations: 37.77 kB / 0.5565 GB, free: 204 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.003932, allocations: 6.188 kB / 0.5565 GB, free: 200 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.003936, allocations: 4 kB / 0.5565 GB, free: 196 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.003947, allocations: 0 / 0.5565 GB, free: 196 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.034e-05/0.003987, allocations: 0 / 0.5565 GB, free: 196 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.003993, allocations: 3.938 kB / 0.5565 GB, free: 192 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.076e-06/0.004001, allocations: 0 / 0.5565 GB, free: 192 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.004013, allocations: 4 kB / 0.5565 GB, free: 188 kB / 0.5105 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 (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 5.127e-05/0.004064, allocations: 113.8 kB / 0.5566 GB, free: 64 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-06/0.004069, allocations: 3.953 kB / 0.5566 GB, free: 60 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.064e-05/0.00413, allocations: 36.73 kB / 0.5567 GB, free: 20 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.004132, allocations: 0 / 0.5567 GB, free: 20 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.004138, allocations: 7.938 kB / 0.5567 GB, free: 12 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.004141, allocations: 4 kB / 0.5567 GB, free: 8 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.27e-05/0.004214, allocations: 120.8 kB / 0.5568 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.004215, allocations: 0 / 0.5568 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.468e-06/0.004225, allocations: 0 / 0.5568 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.004227, allocations: 4 kB / 0.5568 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.004233, allocations: 0 / 0.5568 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.004234, allocations: 0 / 0.5568 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.004236, allocations: 7.969 kB / 0.5568 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.484e-05/0.004281, allocations: 65.05 kB / 0.5569 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.186e-06/0.004284, allocations: 3.938 kB / 0.5569 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.045e-06/0.004292, allocations: 0 / 0.5569 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.547e-06/0.004296, allocations: 0 / 0.5569 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.353e-05/0.004309, allocations: 11.88 kB / 0.5569 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.004312, allocations: 4 kB / 0.5569 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 1.897e-05/0.004331, allocations: 75.28 kB / 0.5569 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-08/0.004331, allocations: 0 / 0.5569 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000138/0.004469, allocations: 11.94 kB / 0.557 GB, free: 15.65 MB / 0.5261 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.00032/0.004789, allocations: 0.6086 MB / 0.5575 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.319e-05/0.004852, allocations: 7.938 kB / 0.5576 GB, free: 15 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.004854, allocations: 0 / 0.5576 GB, free: 15 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.036e-06/0.004857, allocations: 4 kB / 0.5576 GB, free: 15 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.773e-05/0.004955, allocations: 4.094 kB / 0.5576 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002384/0.005193, allocations: 126.4 kB / 0.5577 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.434e-05/0.005228, allocations: 51.36 kB / 0.5577 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.273e-05/0.00524, allocations: 8 kB / 0.5577 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.835e-05/0.005259, allocations: 8.5 kB / 0.5578 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of SimCode: time 5.71e-07/0.005259, allocations: 0 / 0.5578 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0179/0.02316, allocations: 1.785 MB / 0.5595 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.27/7.293, allocations: 4 kB / 0.5595 GB, free: 13.08 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.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_Functions_Examples_BesselJ1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.899343227036297] Failed to read output from testmodel.py, exit status != 0: 7.374478880316019 7.386890205 7.382666104 Calling exit ...