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.001401/0.001401, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001858/0.001858, allocations: 218.5 kB / 23.04 MB, free: 5.074 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.417/1.417, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.002568/0.002568, allocations: 278.7 kB / 313.5 MB, free: 2.809 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.194/1.194, allocations: 180.6 MB / 0.5377 GB, free: 13.02 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.004834/0.004834, allocations: 97.02 kB / 0.7404 GB, free: 28.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2472, allocations: 95.38 MB / 0.8335 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00243/0.2497, allocations: 0.6017 MB / 0.8341 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003014/0.25, allocations: 43.86 kB / 0.8342 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.753e-05/0.25, allocations: 4 kB / 0.8342 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.371e-05/0.25, allocations: 0 / 0.8342 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.261e-05/0.2501, allocations: 4 kB / 0.8342 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.2503, allocations: 11.98 kB / 0.8342 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.245e-05/0.2504, allocations: 4 kB / 0.8342 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.454e-05/0.2504, allocations: 0 / 0.8342 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.837e-05/0.2505, allocations: 7.922 kB / 0.8342 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.03e-05/0.2505, allocations: 4 kB / 0.8342 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.2505, allocations: 0 / 0.8342 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.987e-05/0.2506, allocations: 23.97 kB / 0.8342 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.362e-05/0.2507, allocations: 8 kB / 0.8342 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.13e-05/0.2507, allocations: 7.875 kB / 0.8342 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.2508, allocations: 24.14 kB / 0.8343 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2508, allocations: 0 / 0.8343 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2508, allocations: 4 kB / 0.8343 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.2508, allocations: 0 / 0.8343 GB, free: 7.883 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.0004185/0.2512, allocations: 272.5 kB / 0.8345 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.2513, allocations: 9.938 kB / 0.8345 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.144e-05/0.2513, allocations: 192 / 0.8345 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.505e-05/0.2514, allocations: 46.72 kB / 0.8346 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.009e-05/0.2514, allocations: 0.9375 kB / 0.8346 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.2515, allocations: 106.5 kB / 0.8347 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.2515, allocations: 384 / 0.8347 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.2515, allocations: 4.375 kB / 0.8347 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.2517, allocations: 62 kB / 0.8347 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.2517, allocations: 3.938 kB / 0.8347 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.2517, allocations: 0 / 0.8347 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.389e-05/0.2517, allocations: 8 kB / 0.8348 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.827e-05/0.2518, allocations: 27.98 kB / 0.8348 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.2523, allocations: 235.8 kB / 0.835 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.291e-05/0.2523, allocations: 22.58 kB / 0.835 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.415e-05/0.2523, allocations: 8.797 kB / 0.835 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.348e-06/0.2524, allocations: 0 / 0.835 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/0.2524, allocations: 38.56 kB / 0.8351 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.2524, allocations: 4 kB / 0.8351 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0002259/0.2526, allocations: 67.34 kB / 0.8351 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.865e-05/0.2527, allocations: 81.11 kB / 0.8352 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.2528, allocations: 113.8 kB / 0.8353 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.2528, allocations: 25.7 kB / 0.8353 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.772e-05/0.2529, allocations: 107.9 kB / 0.8355 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.2529, allocations: 11.94 kB / 0.8355 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.828e-05/0.253, allocations: 21.72 kB / 0.8355 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.2532, allocations: 322.9 kB / 0.8358 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.822e-05/0.2532, allocations: 12 kB / 0.8358 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.778e-05/0.2533, allocations: 58.8 kB / 0.8359 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.2535, allocations: 130.2 kB / 0.836 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2535, allocations: 3.938 kB / 0.836 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002262/0.2537, allocations: 115.2 kB / 0.8361 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.537e-05/0.2538, allocations: 37.69 kB / 0.8361 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.2538, allocations: 480 / 0.8361 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.2538, allocations: 4 kB / 0.8361 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.75e-05/0.2539, allocations: 15.94 kB / 0.8362 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.2539, allocations: 0 / 0.8362 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.811e-05/0.254, allocations: 15.89 kB / 0.8362 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.254, allocations: 8.25 kB / 0.8362 GB, free: 5.637 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.0001429/0.2542, allocations: 152.1 kB / 0.8363 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/0.2542, allocations: 4 kB / 0.8363 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.617e-05/0.2542, allocations: 3.469 kB / 0.8363 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2542, allocations: 0 / 0.8363 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.2542, allocations: 3.984 kB / 0.8363 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.2542, allocations: 3.938 kB / 0.8363 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.2545, allocations: 124.8 kB / 0.8365 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2545, allocations: 0 / 0.8365 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-07/0.2545, allocations: 7.938 kB / 0.8365 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2545, allocations: 4 kB / 0.8365 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.2545, allocations: 0 / 0.8365 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2545, allocations: 0 / 0.8365 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.2545, allocations: 7.969 kB / 0.8365 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.2547, allocations: 165.2 kB / 0.8366 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.135e-05/0.2547, allocations: 4 kB / 0.8366 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.2547, allocations: 3.984 kB / 0.8366 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.307e-05/0.2548, allocations: 4.031 kB / 0.8366 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.498e-05/0.2548, allocations: 4 kB / 0.8366 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.2548, allocations: 7.875 kB / 0.8367 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.166e-05/0.2549, allocations: 91.27 kB / 0.8367 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2549, allocations: 3.938 kB / 0.8367 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004599/0.2553, allocations: 8 kB / 0.8368 GB, free: 4.961 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.0006908/0.256, allocations: 0.7024 MB / 0.8374 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001746/0.2562, allocations: 83.33 kB / 0.8375 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2562, allocations: 0 / 0.8375 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.075e-05/0.2563, allocations: 55.41 kB / 0.8376 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.2566, allocations: 10.59 kB / 0.8376 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005273/0.2571, allocations: 147.2 kB / 0.8377 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.2574, allocations: 0.6807 MB / 0.8384 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001037/0.2575, allocations: 7.984 kB / 0.8384 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.441e-05/0.2576, allocations: 15.44 kB / 0.8384 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.2576, allocations: 0 / 0.8384 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/0.2792, allocations: 1.611 MB / 0.84 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.15, allocations: 5.969 kB / 0.84 GB, free: 1.688 MB / 0.5762 GB " [Timeout remaining time 649] (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.398861228022724] Failed to read output from testmodel.py, exit status != 0: 11.318517610023264 11.333475468 11.079614159 Calling exit ...