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.001282/0.001282, allocations: 111.5 kB / 20.48 MB, free: 1.473 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.001432/0.001432, allocations: 215.3 kB / 23.79 MB, free: 4.68 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.568/1.568, allocations: 230.6 MB / 257.6 MB, free: 7.996 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 1.015/1.015, allocations: 150 MB / 464 MB, free: 10.49 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="cs",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.002317/0.002317, allocations: 70.81 kB / 0.6421 GB, free: 10.3 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2131, allocations: 89.17 MB / 0.7292 GB, free: 1.199 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00208/0.2151, allocations: 0.5838 MB / 0.7297 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002725/0.2154, allocations: 39.81 kB / 0.7298 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.344e-05/0.2154, allocations: 0 / 0.7298 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.192e-05/0.2155, allocations: 0 / 0.7298 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.49e-05/0.2155, allocations: 0 / 0.7298 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.2158, allocations: 15.98 kB / 0.7298 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.902e-05/0.2159, allocations: 11.92 kB / 0.7298 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.2159, allocations: 4 kB / 0.7298 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.299e-05/0.2159, allocations: 0 / 0.7298 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.018e-05/0.216, allocations: 7.984 kB / 0.7298 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.216, allocations: 0 / 0.7298 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.389e-05/0.2161, allocations: 19.98 kB / 0.7298 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.098e-05/0.2161, allocations: 4 kB / 0.7298 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.557e-05/0.2162, allocations: 7.938 kB / 0.7298 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.2163, allocations: 28.12 kB / 0.7299 GB, free: 492 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.2163, allocations: 0 / 0.7299 GB, free: 492 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2163, allocations: 0 / 0.7299 GB, free: 492 kB / 0.545 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.2163, allocations: 4 kB / 0.7299 GB, free: 488 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.0003945/0.2167, allocations: 272.1 kB / 0.7301 GB, free: 176 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.2167, allocations: 12.03 kB / 0.7301 GB, free: 164 kB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.06e-05/0.2168, allocations: 192 / 0.7301 GB, free: 164 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.563e-05/0.2168, allocations: 38.73 kB / 0.7302 GB, free: 116 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.2168, allocations: 8.891 kB / 0.7302 GB, free: 108 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.2169, allocations: 102.5 kB / 0.7303 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.217, allocations: 4.312 kB / 0.7303 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.217, allocations: 8.312 kB / 0.7303 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.2171, allocations: 65.98 kB / 0.7303 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.2171, allocations: 0 / 0.7303 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.2171, allocations: 0 / 0.7303 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.129e-05/0.2172, allocations: 11.92 kB / 0.7304 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.725e-05/0.2172, allocations: 23.98 kB / 0.7304 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.2176, allocations: 239.8 kB / 0.7306 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.046e-05/0.2177, allocations: 18.52 kB / 0.7306 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.13e-05/0.2177, allocations: 12.92 kB / 0.7306 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.276e-06/0.2177, allocations: 0 / 0.7306 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.2178, allocations: 34.55 kB / 0.7307 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.2178, allocations: 0 / 0.7307 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0002146/0.218, allocations: 67.41 kB / 0.7307 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/0.218, allocations: 77.11 kB / 0.7308 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.2181, allocations: 117.8 kB / 0.7309 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.2182, allocations: 33.81 kB / 0.731 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.06e-05/0.2182, allocations: 111.9 kB / 0.7311 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.973e-06/0.2183, allocations: 0 / 0.7311 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.744e-05/0.2183, allocations: 25.7 kB / 0.7311 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.2185, allocations: 322.8 kB / 0.7314 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.647e-05/0.2185, allocations: 4 kB / 0.7314 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.143e-05/0.2186, allocations: 62.86 kB / 0.7315 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.2187, allocations: 130.1 kB / 0.7316 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2187, allocations: 4 kB / 0.7316 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002032/0.2189, allocations: 119.1 kB / 0.7317 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.076e-05/0.219, allocations: 33.69 kB / 0.7317 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.219, allocations: 4.25 kB / 0.7317 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.219, allocations: 8 kB / 0.7317 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.958e-05/0.2191, allocations: 8 kB / 0.7318 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.2191, allocations: 4 kB / 0.7318 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.436e-05/0.2192, allocations: 11.94 kB / 0.7318 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.2192, allocations: 8 kB / 0.7318 GB, free: 14.23 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.0001938/0.2194, allocations: 153.4 kB / 0.7319 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.894e-05/0.2195, allocations: 3.953 kB / 0.7319 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.132e-05/0.2195, allocations: 7.469 kB / 0.7319 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2195, allocations: 4 kB / 0.7319 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2195, allocations: 4 kB / 0.7319 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.2195, allocations: 3.938 kB / 0.7319 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.2197, allocations: 120.8 kB / 0.7321 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2197, allocations: 0 / 0.7321 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.012e-06/0.2197, allocations: 3.938 kB / 0.7321 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2197, allocations: 0 / 0.7321 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.2197, allocations: 11.92 kB / 0.7321 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2197, allocations: 0 / 0.7321 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2197, allocations: 0 / 0.7321 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.2199, allocations: 165.2 kB / 0.7322 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.566e-05/0.2199, allocations: 11.94 kB / 0.7322 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.2199, allocations: 0 / 0.7322 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.769e-05/0.22, allocations: 4 kB / 0.7322 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.76e-05/0.22, allocations: 3.938 kB / 0.7323 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.22, allocations: 7.938 kB / 0.7323 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.844e-05/0.2201, allocations: 83.27 kB / 0.7323 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2201, allocations: 4 kB / 0.7323 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002587/0.2203, allocations: 16.03 kB / 0.7324 GB, free: 13.55 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.0006808/0.221, allocations: 0.6946 MB / 0.733 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001609/0.2212, allocations: 79.8 kB / 0.7331 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2212, allocations: 12 kB / 0.7331 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.484e-05/0.2212, allocations: 51.41 kB / 0.7332 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.2215, allocations: 20.11 kB / 0.7332 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004938/0.222, allocations: 130.5 kB / 0.7333 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.2223, allocations: 0.6807 MB / 0.734 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000136/0.2224, allocations: 12.05 kB / 0.734 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.425e-05/0.2225, allocations: 15.42 kB / 0.734 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.2225, allocations: 0 / 0.734 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02702/0.2495, allocations: 1.596 MB / 0.7356 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.31, allocations: 6.297 kB / 0.7356 GB, free: 10.3 MB / 0.5606 GB " [Timeout remaining time 649] (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.286191970983054] Failed to read output from testmodel.py, exit status != 0: 11.474258453992661 11.489466447 11.269956147 Calling exit ...