Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.0008864/0.0008864, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0008539/0.0008539, 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.922/0.922, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.5719/0.5719, allocations: 114 MB / 373.9 MB, free: 8.703 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.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 0.5542 GB, free: 1.672 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.916e-05/2.111e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.668 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ1): time 0.002034/0.002055, allocations: 1.456 MB / 0.5556 GB, free: 208 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005719/0.002627, allocations: 239.1 kB / 0.5558 GB, free: 15.97 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.024e-05/0.002657, allocations: 0 / 0.5558 GB, free: 15.97 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.078e-05/0.002688, allocations: 0 / 0.5558 GB, free: 15.97 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.3e-05/0.002731, allocations: 11.86 kB / 0.5558 GB, free: 15.96 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.003107, allocations: 59.77 kB / 0.5559 GB, free: 15.9 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.338e-05/0.00317, allocations: 27.92 kB / 0.5559 GB, free: 15.87 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.15e-05/0.003252, allocations: 4 kB / 0.5559 GB, free: 15.87 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.48e-05/0.003306, allocations: 15.97 kB / 0.556 GB, free: 15.85 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.401e-05/0.00334, allocations: 11.94 kB / 0.556 GB, free: 15.84 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.003353, allocations: 0 / 0.556 GB, free: 15.84 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.003485, allocations: 55.94 kB / 0.556 GB, free: 15.79 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.0035, allocations: 4 kB / 0.556 GB, free: 15.78 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.003519, allocations: 4 kB / 0.556 GB, free: 15.78 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.003663, allocations: 71.77 kB / 0.5561 GB, free: 15.71 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.003666, allocations: 0 / 0.5561 GB, free: 15.71 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.003667, allocations: 3.938 kB / 0.5561 GB, free: 15.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.003671, allocations: 4 kB / 0.5561 GB, free: 15.7 MB / 490.7 MB 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.0003805/0.004052, allocations: 262.3 kB / 0.5563 GB, free: 15.41 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.004091, allocations: 8.625 kB / 0.5564 GB, free: 15.4 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.266e-05/0.004123, allocations: 34.75 kB / 0.5564 GB, free: 15.36 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.269e-05/0.004146, allocations: 4.891 kB / 0.5564 GB, free: 15.36 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.237e-05/0.004239, allocations: 105.8 kB / 0.5565 GB, free: 15.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.004249, allocations: 4.375 kB / 0.5565 GB, free: 15.22 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.004257, allocations: 384 / 0.5565 GB, free: 15.22 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.004407, allocations: 46.25 kB / 0.5565 GB, free: 15.17 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.004415, allocations: 8.172 kB / 0.5566 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-06/0.004423, allocations: 384 / 0.5566 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.004427, allocations: 4.125 kB / 0.5566 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.00455, allocations: 35.91 kB / 0.5566 GB, free: 15.12 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002977/0.004848, allocations: 219.9 kB / 0.5568 GB, free: 14.87 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.004952, allocations: 34.56 kB / 0.5568 GB, free: 14.82 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.538e-05/0.005018, allocations: 24.91 kB / 0.5569 GB, free: 14.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004501/0.005468, allocations: 83.91 kB / 0.5569 GB, free: 14.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.868e-05/0.005526, allocations: 34.5 kB / 0.557 GB, free: 14.67 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.005528, allocations: 0 / 0.557 GB, free: 14.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003017/0.00583, allocations: 89.53 kB / 0.5571 GB, free: 14.58 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.005861, allocations: 51.41 kB / 0.5571 GB, free: 14.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.337e-05/0.005925, allocations: 101.8 kB / 0.5572 GB, free: 14.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.005937, allocations: 25.7 kB / 0.5572 GB, free: 14.38 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.11e-05/0.005978, allocations: 92.12 kB / 0.5573 GB, free: 14.28 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.005994, allocations: 3.953 kB / 0.5573 GB, free: 14.28 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.006026, allocations: 17.66 kB / 0.5573 GB, free: 14.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.521e-05/0.006121, allocations: 310.8 kB / 0.5576 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.357e-05/0.006185, allocations: 20.09 kB / 0.5577 GB, free: 13.92 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.414e-05/0.006239, allocations: 19.98 kB / 0.5577 GB, free: 13.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.006352, allocations: 36.83 kB / 0.5577 GB, free: 13.86 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.006354, allocations: 3.938 kB / 0.5577 GB, free: 13.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001527/0.006507, allocations: 69.59 kB / 0.5578 GB, free: 13.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.00652, allocations: 8.094 kB / 0.5578 GB, free: 13.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.006525, allocations: 4.188 kB / 0.5578 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.006537, allocations: 0 / 0.5578 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.567e-05/0.006602, allocations: 7.984 kB / 0.5578 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.006607, allocations: 0 / 0.5578 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.442e-05/0.006641, allocations: 11.97 kB / 0.5578 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.006646, allocations: 0 / 0.5578 GB, free: 13.75 MB / 490.7 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 (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.275e-05/0.006709, allocations: 109.8 kB / 0.5579 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.006732, allocations: 3.938 kB / 0.5579 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.006908, allocations: 80.91 kB / 0.558 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.00691, allocations: 0 / 0.558 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.006914, allocations: 0 / 0.558 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.006918, allocations: 4 kB / 0.558 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.007072, allocations: 124.8 kB / 0.5581 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.007073, allocations: 0 / 0.5581 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.719e-05/0.00712, allocations: 11.98 kB / 0.5581 GB, free: 13.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.007125, allocations: 3.938 kB / 0.5581 GB, free: 13.37 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.007133, allocations: 0 / 0.5581 GB, free: 13.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.007134, allocations: 4.031 kB / 0.5581 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.007135, allocations: 0 / 0.5581 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.007345, allocations: 163.5 kB / 0.5583 GB, free: 13.19 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.161e-05/0.007357, allocations: 7.938 kB / 0.5583 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.00737, allocations: 3.938 kB / 0.5583 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.529e-05/0.007435, allocations: 11.92 kB / 0.5583 GB, free: 13.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.007473, allocations: 0 / 0.5583 GB, free: 13.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.007476, allocations: 0 / 0.5583 GB, free: 13.16 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.978e-05/0.007506, allocations: 83.31 kB / 0.5584 GB, free: 13.08 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007506, allocations: 0 / 0.5584 GB, free: 13.08 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001836/0.007689, allocations: 27.92 kB / 0.5584 GB, free: 13.05 MB / 490.7 MB 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.0006858/0.008375, allocations: 0.7007 MB / 0.5591 GB, free: 12.33 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001661/0.008541, allocations: 47.92 kB / 0.5591 GB, free: 12.28 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.008543, allocations: 4 kB / 0.5592 GB, free: 12.28 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.92e-05/0.008582, allocations: 11.98 kB / 0.5592 GB, free: 12.27 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.00877, allocations: 6.672 kB / 0.5592 GB, free: 12.26 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004127/0.009183, allocations: 134.5 kB / 0.5593 GB, free: 12.09 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.171e-05/0.009234, allocations: 59.48 kB / 0.5594 GB, free: 12.01 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.988e-05/0.009254, allocations: 4 kB / 0.5594 GB, free: 12.01 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.504e-05/0.009289, allocations: 12.48 kB / 0.5594 GB, free: 12 MB / 490.7 MB Notification: Performance of SimCode: time 1.162e-06/0.009291, allocations: 4 kB / 0.5594 GB, free: 11.99 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.015/0.02429, allocations: 2.191 MB / 0.5615 GB, free: 9.938 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.931/6.956, allocations: 3.453 kB / 0.5615 GB, free: 9.938 MB / 490.7 MB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.505621544085443] Failed to read output from testmodel.py, exit status != 0: 7.036653716117144 7.048990043 7.042662968 Calling exit ...