Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001031/0.001031, allocations: 76.55 kB / 19.92 MB, free: 4.637 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.0009313/0.0009313, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.953/0.953, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.566/0.566, 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.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.5542 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.152e-05, allocations: 6.281 kB / 0.5542 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ0): time 0.002702/0.002723, allocations: 1.447 MB / 0.5556 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0005152/0.003238, allocations: 235.3 kB / 0.5558 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.391e-05/0.003272, allocations: 0 / 0.5558 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.257e-05/0.003305, allocations: 0 / 0.5558 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.186e-05/0.003357, allocations: 3.938 kB / 0.5558 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004347/0.003791, allocations: 59.81 kB / 0.5559 GB, free: 1.047 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.347e-05/0.003865, allocations: 23.92 kB / 0.5559 GB, free: 1.023 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.867e-05/0.003964, allocations: 4 kB / 0.5559 GB, free: 1.02 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.609e-05/0.00402, allocations: 11.98 kB / 0.5559 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 3.73e-05/0.004057, allocations: 0 / 0.5559 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.004072, allocations: 8 kB / 0.5559 GB, free: 1 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.004229, allocations: 71.73 kB / 0.556 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.861e-05/0.004247, allocations: 4 kB / 0.556 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.972e-05/0.004267, allocations: 0 / 0.556 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.004442, allocations: 63.84 kB / 0.5561 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.004444, allocations: 0 / 0.5561 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.71e-07/0.004445, allocations: 0 / 0.5561 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.004451, allocations: 0 / 0.5561 GB, free: 0.8633 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.0004387/0.00489, allocations: 274.2 kB / 0.5563 GB, free: 0.5625 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.004936, allocations: 12.62 kB / 0.5563 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.962e-05/0.004975, allocations: 38.75 kB / 0.5564 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.679e-05/0.005002, allocations: 4.938 kB / 0.5564 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.977e-05/0.005102, allocations: 105.8 kB / 0.5565 GB, free: 380 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.005116, allocations: 384 / 0.5565 GB, free: 380 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-06/0.005124, allocations: 384 / 0.5565 GB, free: 380 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.005308, allocations: 54.17 kB / 0.5565 GB, free: 320 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.00532, allocations: 192 / 0.5565 GB, free: 320 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.00533, allocations: 384 / 0.5565 GB, free: 320 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.005337, allocations: 8.125 kB / 0.5565 GB, free: 312 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.005477, allocations: 35.95 kB / 0.5566 GB, free: 276 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003294/0.005806, allocations: 208.1 kB / 0.5568 GB, free: 24 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.005934, allocations: 42.48 kB / 0.5568 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.434e-05/0.005998, allocations: 20.91 kB / 0.5568 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004323/0.00643, allocations: 75.86 kB / 0.5569 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.006463, allocations: 38.5 kB / 0.5569 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.006464, allocations: 0 / 0.5569 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0003376/0.006802, allocations: 81.59 kB / 0.557 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.006839, allocations: 55.41 kB / 0.5571 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.044e-05/0.006909, allocations: 105.8 kB / 0.5572 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.006922, allocations: 25.7 kB / 0.5572 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.104e-05/0.006963, allocations: 84.27 kB / 0.5573 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.006984, allocations: 11.89 kB / 0.5573 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.007018, allocations: 13.72 kB / 0.5573 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.007122, allocations: 318.8 kB / 0.5576 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.752e-05/0.00719, allocations: 15.98 kB / 0.5576 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.432e-05/0.007244, allocations: 11.98 kB / 0.5576 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.007362, allocations: 44.88 kB / 0.5577 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.007364, allocations: 3.938 kB / 0.5577 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001562/0.007521, allocations: 65.61 kB / 0.5577 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.007535, allocations: 6.344 kB / 0.5578 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.00754, allocations: 0 / 0.5578 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.007553, allocations: 0 / 0.5578 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.256e-05/0.007626, allocations: 15.92 kB / 0.5578 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.00763, allocations: 0 / 0.5578 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.892e-05/0.007669, allocations: 16.02 kB / 0.5578 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.007675, allocations: 0 / 0.5578 GB, free: 14.91 MB / 0.5261 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 6.472e-05/0.007739, allocations: 105.8 kB / 0.5579 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.007763, allocations: 8.125 kB / 0.5579 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001874/0.00795, allocations: 72.95 kB / 0.558 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.007953, allocations: 0 / 0.558 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.007957, allocations: 0 / 0.558 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.00796, allocations: 4 kB / 0.558 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.008111, allocations: 132.7 kB / 0.5581 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.008112, allocations: 0 / 0.5581 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.197e-05/0.008154, allocations: 7.984 kB / 0.5581 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.008158, allocations: 7.938 kB / 0.5581 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.008168, allocations: 4 kB / 0.5581 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.008171, allocations: 3.938 kB / 0.5581 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.008173, allocations: 0 / 0.5581 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.008357, allocations: 155.5 kB / 0.5583 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-06/0.008365, allocations: 7.969 kB / 0.5583 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.008378, allocations: 4 kB / 0.5583 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.164e-05/0.00844, allocations: 3.984 kB / 0.5583 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.008479, allocations: 8 kB / 0.5583 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.008483, allocations: 0 / 0.5583 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.809e-05/0.008521, allocations: 87.2 kB / 0.5584 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.008521, allocations: 0 / 0.5584 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002743/0.008795, allocations: 12 kB / 0.5584 GB, free: 14.23 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 (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.0005301/0.009325, allocations: 0.724 MB / 0.5591 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001662/0.009492, allocations: 31.97 kB / 0.5591 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.009493, allocations: 0 / 0.5591 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.468e-05/0.009558, allocations: 24.08 kB / 0.5591 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.009818, allocations: 8.625 kB / 0.5592 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004217/0.01024, allocations: 142.3 kB / 0.5593 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.079e-05/0.01029, allocations: 59.34 kB / 0.5593 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.259e-05/0.01031, allocations: 4 kB / 0.5593 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.01035, allocations: 12.5 kB / 0.5594 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of SimCode: time 4.6e-07/0.01035, allocations: 0 / 0.5594 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01625/0.02659, allocations: 2.181 MB / 0.5615 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.047/7.074, allocations: 10.66 kB / 0.5615 GB, free: 11.09 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.700255625881255] Failed to read output from testmodel.py, exit status != 0: 7.155471108853817 7.165685496 7.158781257 Calling exit ...