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.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.0009864/0.0009864, allocations: 72.5 kB / 19.92 MB, free: 4.633 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.00114/0.00114, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9352/0.9352, allocations: 177.1 MB / 203.5 MB, free: 5.719 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.5767/0.5767, allocations: 114 MB / 373.9 MB, free: 8.688 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.5542 GB, free: 2.707 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.724e-05, allocations: 5.125 kB / 0.5542 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.001302/0.001329, allocations: 0.5782 MB / 0.5548 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0003517/0.001681, allocations: 167.4 kB / 0.555 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.188e-05/0.001693, allocations: 0 / 0.555 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.459e-05/0.001708, allocations: 0 / 0.555 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.102e-06/0.001714, allocations: 0 / 0.555 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.00207, allocations: 47.83 kB / 0.555 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 4.286e-05/0.002112, allocations: 4 kB / 0.555 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.927e-05/0.002152, allocations: 3.984 kB / 0.555 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 2.402e-05/0.002176, allocations: 7.938 kB / 0.555 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 1.718e-05/0.002193, allocations: 0 / 0.555 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 8.676e-06/0.002202, allocations: 0 / 0.555 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.002339, allocations: 59.88 kB / 0.5551 GB, free: 1.844 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.141e-05/0.00235, allocations: 0 / 0.5551 GB, free: 1.844 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.475e-05/0.002365, allocations: 0 / 0.5551 GB, free: 1.844 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.002482, allocations: 47.86 kB / 0.5551 GB, free: 1.797 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.002485, allocations: 0 / 0.5551 GB, free: 1.797 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.625e-06/0.002487, allocations: 4 kB / 0.5551 GB, free: 1.793 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.002496, allocations: 0 / 0.5551 GB, free: 1.793 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.0002422/0.002738, allocations: 240.6 kB / 0.5554 GB, free: 1.527 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.002785, allocations: 16.62 kB / 0.5554 GB, free: 1.512 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.211e-05/0.002817, allocations: 30.75 kB / 0.5554 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.759e-05/0.002845, allocations: 0.9375 kB / 0.5554 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.963e-05/0.002905, allocations: 105.8 kB / 0.5555 GB, free: 1.344 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.002916, allocations: 4.375 kB / 0.5555 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.002925, allocations: 384 / 0.5555 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.627e-05/0.003001, allocations: 30.27 kB / 0.5555 GB, free: 1.305 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.28e-06/0.003006, allocations: 4.125 kB / 0.5556 GB, free: 1.301 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.003013, allocations: 8.297 kB / 0.5556 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.003019, allocations: 4.125 kB / 0.5556 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.712e-05/0.003036, allocations: 8 kB / 0.5556 GB, free: 1.281 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.877e-05/0.003135, allocations: 116.8 kB / 0.5557 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.37e-05/0.003168, allocations: 22.61 kB / 0.5557 GB, free: 1.094 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.229e-05/0.003181, allocations: 8.797 kB / 0.5557 GB, free: 1.082 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004311/0.003612, allocations: 63.98 kB / 0.5558 GB, free: 1.02 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.003634, allocations: 38.56 kB / 0.5558 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.003635, allocations: 7.938 kB / 0.5558 GB, free: 0.9648 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001129/0.003748, allocations: 33.69 kB / 0.5559 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.003782, allocations: 55.34 kB / 0.5559 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.645e-05/0.003808, allocations: 89.86 kB / 0.556 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.003817, allocations: 25.7 kB / 0.556 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.054e-05/0.003838, allocations: 80.14 kB / 0.5561 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.003866, allocations: 7.938 kB / 0.5561 GB, free: 0.6406 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.348e-05/0.00389, allocations: 13.72 kB / 0.5561 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.754e-05/0.003977, allocations: 310.8 kB / 0.5564 GB, free: 316 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.204e-05/0.00399, allocations: 4.125 kB / 0.5564 GB, free: 312 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.302e-06/0.003996, allocations: 4 kB / 0.5564 GB, free: 308 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.958e-05/0.004025, allocations: 16.78 kB / 0.5564 GB, free: 288 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.004027, allocations: 0 / 0.5564 GB, free: 288 kB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.837e-05/0.004066, allocations: 29.7 kB / 0.5565 GB, free: 252 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.004081, allocations: 6.031 kB / 0.5565 GB, free: 248 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.004086, allocations: 0 / 0.5565 GB, free: 248 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.004098, allocations: 0 / 0.5565 GB, free: 248 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.279e-05/0.004141, allocations: 4 kB / 0.5565 GB, free: 244 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.004147, allocations: 3.938 kB / 0.5565 GB, free: 240 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.426e-06/0.004155, allocations: 4.094 kB / 0.5565 GB, free: 236 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.00416, allocations: 0 / 0.5565 GB, free: 236 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.58e-05/0.004216, allocations: 117.8 kB / 0.5566 GB, free: 108 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-06/0.004221, allocations: 7.938 kB / 0.5566 GB, free: 100 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.63e-05/0.004287, allocations: 36.64 kB / 0.5566 GB, free: 60 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.00429, allocations: 0 / 0.5566 GB, free: 60 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.004296, allocations: 3.938 kB / 0.5566 GB, free: 56 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.004298, allocations: 0 / 0.5566 GB, free: 56 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.939e-05/0.004388, allocations: 120.8 kB / 0.5568 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.004389, allocations: 3.938 kB / 0.5568 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.337e-05/0.004402, allocations: 8.031 kB / 0.5568 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.004404, allocations: 0 / 0.5568 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-06/0.004409, allocations: 0 / 0.5568 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.004411, allocations: 0 / 0.5568 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.004414, allocations: 11.94 kB / 0.5568 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.124e-05/0.004466, allocations: 53.12 kB / 0.5568 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-06/0.004471, allocations: 7.938 kB / 0.5568 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.887e-06/0.00448, allocations: 0 / 0.5568 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.447e-06/0.004483, allocations: 0 / 0.5568 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.417e-05/0.004498, allocations: 3.938 kB / 0.5568 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-06/0.004499, allocations: 7.969 kB / 0.5568 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.002e-05/0.004519, allocations: 75.28 kB / 0.5569 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.004519, allocations: 0 / 0.5569 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001435/0.004663, allocations: 12 kB / 0.5569 GB, free: 15.7 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.0003463/0.005009, allocations: 0.6085 MB / 0.5575 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.871e-05/0.005088, allocations: 15.97 kB / 0.5575 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.005089, allocations: 0 / 0.5575 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.099e-06/0.005095, allocations: 4 kB / 0.5575 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001045/0.005199, allocations: 6.75 kB / 0.5575 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002901/0.005489, allocations: 110.5 kB / 0.5577 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.457e-05/0.005524, allocations: 55.36 kB / 0.5577 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.858e-06/0.005534, allocations: 0 / 0.5577 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.686e-05/0.00555, allocations: 8.5 kB / 0.5577 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of SimCode: time 7.21e-07/0.005551, allocations: 0 / 0.5577 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01995/0.0255, allocations: 1.781 MB / 0.5595 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.16/7.186, allocations: 0.9375 kB / 0.5595 GB, free: 13.15 MB / 0.5261 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.815143378451467] Failed to read output from testmodel.py, exit status != 0: 7.267258573323488 7.274284199 7.270136171 Calling exit ...