Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.001086/0.001086, allocations: 76.55 kB / 19.93 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.0009049/0.0009049, allocations: 177.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.9448/0.9448, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.5636/0.5636, allocations: 114 MB / 373.9 MB, free: 8.711 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.TrapezoidalIntegration,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.5542 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.403e-05, allocations: 5.438 kB / 0.5542 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001299/0.001323, allocations: 0.5859 MB / 0.5548 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0002277/0.00155, allocations: 35.89 kB / 0.5549 GB, free: 2.105 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.26e-05/0.001573, allocations: 4 kB / 0.5549 GB, free: 2.102 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.656e-05/0.00161, allocations: 0 / 0.5549 GB, free: 2.102 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.244e-05/0.001662, allocations: 0 / 0.5549 GB, free: 2.102 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.001923, allocations: 7.984 kB / 0.5549 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.202e-05/0.002016, allocations: 15.92 kB / 0.5549 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.433e-05/0.00206, allocations: 4 kB / 0.5549 GB, free: 2.074 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.04e-05/0.0021, allocations: 3.984 kB / 0.5549 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.229e-05/0.002153, allocations: 0 / 0.5549 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.002171, allocations: 0 / 0.5549 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.76e-05/0.002249, allocations: 19.98 kB / 0.5549 GB, free: 2.051 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 3.265e-05/0.002281, allocations: 4 kB / 0.5549 GB, free: 2.047 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.243e-05/0.002304, allocations: 4 kB / 0.5549 GB, free: 2.043 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.002426, allocations: 35.83 kB / 0.555 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.002428, allocations: 0 / 0.555 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.61e-07/0.002429, allocations: 3.938 kB / 0.555 GB, free: 2.004 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.002433, allocations: 0 / 0.555 GB, free: 2.004 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006639/0.003096, allocations: 273.5 kB / 0.5552 GB, free: 1.699 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.003133, allocations: 8.031 kB / 0.5552 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.458e-05/0.003158, allocations: 34.75 kB / 0.5553 GB, free: 1.648 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.21e-05/0.00318, allocations: 8.875 kB / 0.5553 GB, free: 1.641 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.849e-05/0.003238, allocations: 105.8 kB / 0.5554 GB, free: 1.512 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.003249, allocations: 4.375 kB / 0.5554 GB, free: 1.508 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-06/0.003256, allocations: 4.375 kB / 0.5554 GB, free: 1.504 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.003373, allocations: 79.95 kB / 0.5555 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.003381, allocations: 4.188 kB / 0.5555 GB, free: 1.41 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.003388, allocations: 384 / 0.5555 GB, free: 1.41 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.379e-05/0.003412, allocations: 12.12 kB / 0.5555 GB, free: 1.398 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.975e-05/0.003462, allocations: 53.62 kB / 0.5555 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002607/0.003722, allocations: 243.8 kB / 0.5557 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.392e-05/0.003766, allocations: 44.28 kB / 0.5558 GB, free: 1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.808e-05/0.003784, allocations: 30.56 kB / 0.5558 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-06/0.00379, allocations: 8.062 kB / 0.5558 GB, free: 0.9531 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.003809, allocations: 34.56 kB / 0.5559 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.00381, allocations: 0 / 0.5559 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001466/0.003957, allocations: 126.7 kB / 0.556 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.00399, allocations: 77.11 kB / 0.5561 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.064e-05/0.004051, allocations: 113.8 kB / 0.5562 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.004062, allocations: 25.7 kB / 0.5562 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.004102, allocations: 107.9 kB / 0.5563 GB, free: 416 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.442e-06/0.004109, allocations: 8 kB / 0.5563 GB, free: 408 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.004136, allocations: 17.72 kB / 0.5563 GB, free: 384 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.34e-05/0.004209, allocations: 322.9 kB / 0.5566 GB, free: 52 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.451e-05/0.004234, allocations: 37.69 kB / 0.5567 GB, free: 8 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.868e-05/0.004292, allocations: 96.44 kB / 0.5568 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.088e-05/0.004363, allocations: 122.2 kB / 0.5569 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.004365, allocations: 4 kB / 0.5569 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001084/0.004474, allocations: 152.8 kB / 0.557 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.004499, allocations: 37.69 kB / 0.5571 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.004504, allocations: 0 / 0.5571 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.004516, allocations: 4 kB / 0.5571 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.445e-05/0.00457, allocations: 12 kB / 0.5571 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.004576, allocations: 4.406 kB / 0.5571 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.998e-05/0.004626, allocations: 12.19 kB / 0.5571 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.004641, allocations: 8 kB / 0.5571 GB, free: 15.47 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.752e-05/0.004709, allocations: 147.5 kB / 0.5572 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.004723, allocations: 7.953 kB / 0.5572 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.027e-05/0.004733, allocations: 3.469 kB / 0.5572 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.004735, allocations: 0 / 0.5572 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.00474, allocations: 0 / 0.5572 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.004743, allocations: 0 / 0.5572 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.815e-05/0.004841, allocations: 128.7 kB / 0.5574 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.004842, allocations: 7.938 kB / 0.5574 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.62e-07/0.004843, allocations: 0 / 0.5574 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.004844, allocations: 4 kB / 0.5574 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-06/0.00485, allocations: 0 / 0.5574 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.00485, allocations: 0 / 0.5574 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.004851, allocations: 0 / 0.5574 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.821e-05/0.00495, allocations: 198.8 kB / 0.5576 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.004957, allocations: 3.953 kB / 0.5576 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.004968, allocations: 0 / 0.5576 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.459e-05/0.005002, allocations: 11.98 kB / 0.5576 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.005016, allocations: 0 / 0.5576 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.005018, allocations: 0 / 0.5576 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.706e-05/0.005055, allocations: 99.28 kB / 0.5577 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.005055, allocations: 0 / 0.5577 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001652/0.005221, allocations: 12 kB / 0.5577 GB, free: 14.77 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0007226/0.005943, allocations: 0.7235 MB / 0.5584 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001312/0.006075, allocations: 138.7 kB / 0.5585 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.006076, allocations: 3.938 kB / 0.5585 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.899e-05/0.006105, allocations: 85.62 kB / 0.5586 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.006254, allocations: 9.938 kB / 0.5586 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000333/0.006587, allocations: 168.1 kB / 0.5588 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.82e-05/0.006635, allocations: 63.34 kB / 0.5588 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.244e-05/0.006687, allocations: 15.97 kB / 0.5589 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.131e-05/0.006709, allocations: 12.5 kB / 0.5589 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of SimCode: time 6.62e-07/0.006709, allocations: 0 / 0.5589 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/0.02447, allocations: 2.079 MB / 0.5609 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.776/6.8, allocations: 17.66 kB / 0.5609 GB, free: 11.5 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.385665626265109] Failed to read output from testmodel.py, exit status != 0: 6.879974652081728 6.88984805 6.885572171 Calling exit ...