Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.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.0007948/0.0007948, allocations: 72.45 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0009277/0.0009277, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8549/0.8549, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001803/0.001803, allocations: 240.3 kB / 259.4 MB, free: 13.01 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6241/0.6241, allocations: 138.4 MB / 454.3 MB, free: 1.641 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.6463 GB, free: 28.95 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.067e-06/1.038e-05, allocations: 3.5 kB / 0.6463 GB, free: 28.95 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.001338/0.001349, allocations: 1.464 MB / 0.6477 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0003369/0.001686, allocations: 226 kB / 0.648 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.404e-05/0.00171, allocations: 0 / 0.648 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.403e-05/0.001734, allocations: 3.938 kB / 0.648 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 3.396e-05/0.001768, allocations: 5.094 kB / 0.648 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.002055, allocations: 58.16 kB / 0.648 GB, free: 27.59 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 5.363e-05/0.002109, allocations: 23.98 kB / 0.648 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 7.327e-05/0.002182, allocations: 6.266 kB / 0.6481 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.109e-05/0.002223, allocations: 12.7 kB / 0.6481 GB, free: 27.56 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 2.749e-05/0.002251, allocations: 6.281 kB / 0.6481 GB, free: 27.56 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 9.738e-06/0.002261, allocations: 6.312 kB / 0.6481 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 9.879e-05/0.002359, allocations: 63.75 kB / 0.6481 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.141e-05/0.002371, allocations: 0 / 0.6481 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.496e-05/0.002386, allocations: 10.27 kB / 0.6481 GB, free: 27.51 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.002498, allocations: 61.44 kB / 0.6482 GB, free: 27.47 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.0025, allocations: 1.156 kB / 0.6482 GB, free: 27.47 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.11e-07/0.002501, allocations: 0 / 0.6482 GB, free: 27.47 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.002505, allocations: 0 / 0.6482 GB, free: 27.47 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002731/0.002778, allocations: 266.9 kB / 0.6485 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.002813, allocations: 10.16 kB / 0.6485 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.941e-05/0.002832, allocations: 35.91 kB / 0.6485 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.908e-05/0.002851, allocations: 5.953 kB / 0.6485 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.04e-05/0.002902, allocations: 104.3 kB / 0.6486 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.002911, allocations: 1.75 kB / 0.6486 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-06/0.002918, allocations: 1.875 kB / 0.6486 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.00303, allocations: 52.83 kB / 0.6487 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.003038, allocations: 192 / 0.6487 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.003045, allocations: 5.344 kB / 0.6487 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.00305, allocations: 4.125 kB / 0.6487 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.192e-05/0.003132, allocations: 38.64 kB / 0.6487 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000208/0.00334, allocations: 216.8 kB / 0.6489 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.724e-05/0.003407, allocations: 39.12 kB / 0.649 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.111e-05/0.003448, allocations: 25.84 kB / 0.649 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002884/0.003737, allocations: 78.81 kB / 0.6491 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.003755, allocations: 35.62 kB / 0.6491 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.003755, allocations: 0 / 0.6491 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001915/0.003947, allocations: 84.06 kB / 0.6492 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.572e-05/0.003963, allocations: 52.53 kB / 0.6492 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.641e-05/0.003999, allocations: 95.33 kB / 0.6493 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.228e-06/0.004003, allocations: 29.83 kB / 0.6493 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.921e-05/0.004023, allocations: 85.33 kB / 0.6494 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.362e-05/0.004036, allocations: 13.08 kB / 0.6494 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.158e-05/0.004058, allocations: 16.27 kB / 0.6494 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.739e-05/0.004085, allocations: 315.8 kB / 0.6497 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.688e-05/0.004122, allocations: 13.8 kB / 0.6498 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.409e-05/0.004156, allocations: 16.77 kB / 0.6498 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.922e-05/0.004225, allocations: 48.25 kB / 0.6498 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.004227, allocations: 0 / 0.6498 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.71e-05/0.004314, allocations: 68.84 kB / 0.6499 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.004325, allocations: 5.75 kB / 0.6499 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.00433, allocations: 0 / 0.6499 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.00434, allocations: 0 / 0.6499 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.845e-05/0.004388, allocations: 10.16 kB / 0.6499 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.004392, allocations: 0 / 0.6499 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.014e-05/0.004412, allocations: 15.95 kB / 0.6499 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.004417, allocations: 1.25 kB / 0.6499 GB, free: 25.77 MB / 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 (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 2.825e-05/0.004445, allocations: 111.8 kB / 0.65 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.039e-05/0.004455, allocations: 5.25 kB / 0.65 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.004563, allocations: 71.2 kB / 0.6501 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.004565, allocations: 1.781 kB / 0.6501 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.004568, allocations: 0 / 0.6501 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.00457, allocations: 0 / 0.6501 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.772e-05/0.004638, allocations: 126.2 kB / 0.6502 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.004639, allocations: 3.984 kB / 0.6502 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.979e-05/0.004659, allocations: 5.125 kB / 0.6502 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.004661, allocations: 5.75 kB / 0.6502 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.004666, allocations: 0 / 0.6502 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.004667, allocations: 0 / 0.6502 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.004668, allocations: 1.75 kB / 0.6502 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.183e-05/0.004759, allocations: 174.6 kB / 0.6504 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-06/0.004764, allocations: 13.77 kB / 0.6504 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.015e-06/0.004772, allocations: 0 / 0.6504 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.331e-05/0.004806, allocations: 5.312 kB / 0.6504 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/0.004833, allocations: 3.984 kB / 0.6504 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.004835, allocations: 0.5938 kB / 0.6504 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.446e-05/0.004849, allocations: 82.75 kB / 0.6505 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.004849, allocations: 1.844 kB / 0.6505 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001522/0.005001, allocations: 16.03 kB / 0.6505 GB, free: 25.17 MB / 0.5105 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.0002462/0.005248, allocations: 0.7149 MB / 0.6512 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001051/0.005353, allocations: 32.41 kB / 0.6513 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.005354, allocations: 1.062 kB / 0.6513 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.756e-05/0.005391, allocations: 26.97 kB / 0.6513 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.005543, allocations: 2.25 kB / 0.6513 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002599/0.005803, allocations: 139.2 kB / 0.6514 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.788e-05/0.00583, allocations: 61.91 kB / 0.6515 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.325e-05/0.005844, allocations: 0 / 0.6515 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.719e-05/0.005871, allocations: 10.03 kB / 0.6515 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of SimCode: time 2.9e-07/0.005871, allocations: 0 / 0.6515 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01272/0.01859, allocations: 2.206 MB / 0.6536 GB, free: 22.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.591/6.61, allocations: 7.25 kB / 0.6536 GB, free: 22.8 MB / 0.5105 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.316095139831305] Failed to read output from testmodel.py, exit status != 0: 6.685034032911062 6.691879545 6.688047039 Calling exit ...