Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001762/0.001762, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001655/0.001655, allocations: 220.5 kB / 23.03 MB, free: 4.922 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.416/1.416, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002541/0.002541, allocations: 290.1 kB / 313.5 MB, free: 2.598 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.223/1.223, allocations: 180.6 MB / 0.5377 GB, free: 14.52 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.004048/0.004048, allocations: 97.75 kB / 0.7403 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2188, allocations: 95.39 MB / 0.8334 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002333/0.2211, allocations: 0.596 MB / 0.834 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000323/0.2214, allocations: 35.88 kB / 0.8341 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.416e-05/0.2215, allocations: 0 / 0.8341 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.08e-05/0.2215, allocations: 8 kB / 0.8341 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.535e-05/0.2215, allocations: 0 / 0.8341 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.2218, allocations: 15.92 kB / 0.8341 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.001e-05/0.2219, allocations: 4 kB / 0.8341 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.649e-05/0.222, allocations: 0 / 0.8341 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.066e-05/0.222, allocations: 4 kB / 0.8341 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.875e-05/0.2221, allocations: 0 / 0.8341 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.2221, allocations: 3.938 kB / 0.8341 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.2222, allocations: 23.97 kB / 0.8341 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.265e-05/0.2222, allocations: 7.938 kB / 0.8341 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.2223, allocations: 11.92 kB / 0.8341 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.2224, allocations: 24.2 kB / 0.8342 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.2224, allocations: 0 / 0.8342 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.226e-06/0.2224, allocations: 0 / 0.8342 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.2225, allocations: 0 / 0.8342 GB, free: 7.531 MB / 0.5762 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.0004893/0.2229, allocations: 276.5 kB / 0.8344 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/0.223, allocations: 9.344 kB / 0.8344 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.066e-05/0.223, allocations: 4.188 kB / 0.8344 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.174e-05/0.2231, allocations: 30.75 kB / 0.8345 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.877e-05/0.2231, allocations: 4.875 kB / 0.8345 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.2232, allocations: 114.5 kB / 0.8346 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.2232, allocations: 4.375 kB / 0.8346 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.2232, allocations: 384 / 0.8346 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.2235, allocations: 99.69 kB / 0.8347 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2235, allocations: 0 / 0.8347 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.2235, allocations: 0 / 0.8347 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.351e-05/0.2235, allocations: 4 kB / 0.8347 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.686e-05/0.2236, allocations: 57.61 kB / 0.8347 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004389/0.2241, allocations: 239.8 kB / 0.835 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.754e-05/0.2241, allocations: 48.28 kB / 0.835 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.661e-05/0.2242, allocations: 30.56 kB / 0.835 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.54e-06/0.2242, allocations: 4 kB / 0.835 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.2242, allocations: 34.62 kB / 0.8351 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.2242, allocations: 0 / 0.8351 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.000276/0.2245, allocations: 122.7 kB / 0.8352 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.417e-05/0.2246, allocations: 81.11 kB / 0.8353 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.2247, allocations: 113.8 kB / 0.8354 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.2247, allocations: 25.7 kB / 0.8354 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.927e-05/0.2248, allocations: 107.9 kB / 0.8355 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.999e-06/0.2248, allocations: 3.953 kB / 0.8355 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.565e-05/0.2248, allocations: 21.72 kB / 0.8355 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.225, allocations: 326.9 kB / 0.8358 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.967e-05/0.225, allocations: 33.7 kB / 0.8359 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.078e-05/0.2251, allocations: 84.56 kB / 0.836 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.2253, allocations: 130.1 kB / 0.8361 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.2253, allocations: 8 kB / 0.8361 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002047/0.2255, allocations: 148.9 kB / 0.8362 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.58e-05/0.2255, allocations: 29.7 kB / 0.8363 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.2255, allocations: 4 kB / 0.8363 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.2255, allocations: 0 / 0.8363 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.211e-05/0.2256, allocations: 15.94 kB / 0.8363 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.2256, allocations: 7.938 kB / 0.8363 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.2257, allocations: 20.12 kB / 0.8363 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.2258, allocations: 4 kB / 0.8363 GB, free: 4.988 MB / 0.5762 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.0001164/0.2259, allocations: 148.1 kB / 0.8365 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.2259, allocations: 0 / 0.8365 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.174e-05/0.2259, allocations: 11.41 kB / 0.8365 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.2259, allocations: 0 / 0.8365 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2259, allocations: 0 / 0.8365 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.2259, allocations: 7.922 kB / 0.8365 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.2261, allocations: 120.8 kB / 0.8366 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2261, allocations: 4 kB / 0.8366 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/0.2261, allocations: 0 / 0.8366 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2261, allocations: 4 kB / 0.8366 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-06/0.2261, allocations: 4 kB / 0.8366 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.2261, allocations: 3.984 kB / 0.8366 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2261, allocations: 0 / 0.8366 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.2263, allocations: 194.8 kB / 0.8368 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.436e-05/0.2263, allocations: 7.984 kB / 0.8368 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.2263, allocations: 0 / 0.8368 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.428e-05/0.2264, allocations: 0 / 0.8368 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.055e-05/0.2264, allocations: 4 kB / 0.8368 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.2264, allocations: 3.938 kB / 0.8368 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.77e-05/0.2264, allocations: 99.75 kB / 0.8369 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2264, allocations: 0 / 0.8369 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002435/0.2267, allocations: 8 kB / 0.8369 GB, free: 4.289 MB / 0.5762 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.0006173/0.2273, allocations: 0.7276 MB / 0.8376 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002062/0.2275, allocations: 142.7 kB / 0.8377 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2275, allocations: 0 / 0.8377 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.087e-05/0.2276, allocations: 81.64 kB / 0.8378 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.2278, allocations: 12 kB / 0.8378 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005245/0.2283, allocations: 164.4 kB / 0.838 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.848e-05/0.2284, allocations: 63.34 kB / 0.8381 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000145/0.2286, allocations: 11.98 kB / 0.8381 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.56e-05/0.2286, allocations: 11.44 kB / 0.8381 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of SimCode: time 5.31e-07/0.2286, allocations: 0 / 0.8381 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02479/0.2534, allocations: 1.654 MB / 0.8397 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.42, allocations: 8.812 kB / 0.8397 GB, free: 1.449 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.711069384007715] Failed to read output from testmodel.py, exit status != 0: 11.578128029010259 11.594649949999999 11.369019976 Calling exit ...