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.001297/0.001297, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 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.001448/0.001448, allocations: 208.8 kB / 22.99 MB, free: 4.609 MB / 14.72 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 1.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.9781/0.9781, allocations: 149.9 MB / 463 MB, free: 10.39 MB / 366.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003299/0.003299, allocations: 64.89 kB / 0.6411 GB, free: 10.09 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.208, allocations: 89.17 MB / 0.7282 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001909/0.21, allocations: 0.5877 MB / 0.7288 GB, free: 420 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002653/0.2102, allocations: 31.89 kB / 0.7288 GB, free: 388 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.262e-05/0.2102, allocations: 4 kB / 0.7288 GB, free: 384 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.771e-05/0.2103, allocations: 0 / 0.7288 GB, free: 384 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.151e-05/0.2103, allocations: 3.984 kB / 0.7288 GB, free: 380 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.2105, allocations: 8 kB / 0.7288 GB, free: 372 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.149e-05/0.2106, allocations: 7.984 kB / 0.7288 GB, free: 364 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.211e-05/0.2107, allocations: 0 / 0.7288 GB, free: 364 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.169e-05/0.2107, allocations: 12 kB / 0.7288 GB, free: 352 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.455e-05/0.2107, allocations: 0 / 0.7288 GB, free: 352 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.2107, allocations: 3.938 kB / 0.7288 GB, free: 348 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.689e-05/0.2108, allocations: 19.98 kB / 0.7289 GB, free: 328 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.763e-05/0.2109, allocations: 15.91 kB / 0.7289 GB, free: 312 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.626e-05/0.2109, allocations: 0 / 0.7289 GB, free: 312 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.211, allocations: 28.14 kB / 0.7289 GB, free: 284 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.211, allocations: 0 / 0.7289 GB, free: 284 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.874e-06/0.211, allocations: 0 / 0.7289 GB, free: 284 kB / 0.545 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.211, allocations: 0 / 0.7289 GB, free: 284 kB / 0.545 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.0003957/0.2114, allocations: 272.2 kB / 0.7292 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.2115, allocations: 19.97 kB / 0.7292 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.459e-05/0.2115, allocations: 30.75 kB / 0.7292 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.2115, allocations: 4.891 kB / 0.7292 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.2116, allocations: 106.5 kB / 0.7293 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.2117, allocations: 384 / 0.7293 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.2117, allocations: 384 / 0.7293 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.2118, allocations: 99.72 kB / 0.7294 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.2119, allocations: 3.938 kB / 0.7294 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.2119, allocations: 4 kB / 0.7294 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.713e-05/0.2119, allocations: 7.984 kB / 0.7294 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.273e-05/0.2119, allocations: 49.69 kB / 0.7295 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.2123, allocations: 243.8 kB / 0.7297 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.656e-05/0.2124, allocations: 44.27 kB / 0.7297 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.554e-05/0.2124, allocations: 38.56 kB / 0.7298 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.2124, allocations: 0 / 0.7298 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.2124, allocations: 30.56 kB / 0.7298 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.673e-06/0.2124, allocations: 0 / 0.7298 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0002077/0.2126, allocations: 122.8 kB / 0.7299 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.2127, allocations: 77.11 kB / 0.73 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.2128, allocations: 117.8 kB / 0.7301 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.2128, allocations: 25.83 kB / 0.7301 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.535e-05/0.2129, allocations: 111.9 kB / 0.7302 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.516e-06/0.2129, allocations: 3.953 kB / 0.7302 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.312e-05/0.213, allocations: 21.72 kB / 0.7303 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.2131, allocations: 322.8 kB / 0.7306 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.978e-05/0.2131, allocations: 37.64 kB / 0.7306 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.113e-05/0.2132, allocations: 84.56 kB / 0.7307 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.2134, allocations: 138.1 kB / 0.7308 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2134, allocations: 0 / 0.7308 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001808/0.2135, allocations: 145 kB / 0.731 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.878e-05/0.2136, allocations: 33.69 kB / 0.731 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.2136, allocations: 4.25 kB / 0.731 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.2136, allocations: 4 kB / 0.731 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.917e-05/0.2137, allocations: 15.94 kB / 0.731 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.2137, allocations: 4 kB / 0.731 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.684e-05/0.2138, allocations: 11.89 kB / 0.731 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.2138, allocations: 7.938 kB / 0.731 GB, free: 13.74 MB / 0.5606 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 0.0001142/0.2139, allocations: 143.5 kB / 0.7312 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.2139, allocations: 4 kB / 0.7312 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.472e-05/0.2139, allocations: 3.469 kB / 0.7312 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2139, allocations: 0 / 0.7312 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2139, allocations: 7.938 kB / 0.7312 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.2139, allocations: 11.88 kB / 0.7312 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.2141, allocations: 132.8 kB / 0.7313 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2141, allocations: 0 / 0.7313 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.2141, allocations: 0 / 0.7313 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2141, allocations: 0 / 0.7313 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.2141, allocations: 0 / 0.7313 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2141, allocations: 4 kB / 0.7313 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2141, allocations: 0 / 0.7313 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.2143, allocations: 194.8 kB / 0.7315 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.235e-06/0.2143, allocations: 0 / 0.7315 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.2143, allocations: 12.02 kB / 0.7315 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.491e-05/0.2144, allocations: 0 / 0.7315 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/0.2144, allocations: 0 / 0.7315 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.2144, allocations: 4 kB / 0.7315 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.755e-05/0.2144, allocations: 95.67 kB / 0.7316 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2144, allocations: 0 / 0.7316 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002466/0.2147, allocations: 8 kB / 0.7316 GB, free: 13.04 MB / 0.5606 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.0005022/0.2152, allocations: 0.7236 MB / 0.7323 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001753/0.2154, allocations: 142.8 kB / 0.7325 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2154, allocations: 0 / 0.7325 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.73e-05/0.2154, allocations: 85.09 kB / 0.7326 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.2156, allocations: 7.734 kB / 0.7326 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004275/0.216, allocations: 164.1 kB / 0.7327 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.418e-05/0.2161, allocations: 63.34 kB / 0.7328 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001002/0.2162, allocations: 20.53 kB / 0.7328 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.747e-05/0.2162, allocations: 11.44 kB / 0.7328 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.2162, allocations: 0 / 0.7328 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02923/0.2455, allocations: 1.943 MB / 0.7347 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.44, allocations: 9.547 kB / 0.7347 GB, free: 9.895 MB / 0.5606 GB " [Timeout remaining time 648] (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: 15.271327218972147] Failed to read output from testmodel.py, exit status != 0: 11.555163654033095 11.582984796 11.366847557 Calling exit ...