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.001354/0.001354, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001368/0.001368, allocations: 217 kB / 22.25 MB, free: 4.852 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 7.809 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.002612/0.002612, allocations: 290.8 kB / 312.7 MB, free: 2.617 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.268/1.268, allocations: 180.6 MB / 0.5369 GB, free: 14.55 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",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.003016/0.003016, allocations: 105.4 kB / 0.7395 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1923, allocations: 95.38 MB / 0.8327 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001811/0.1941, allocations: 0.5961 MB / 0.8333 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002503/0.1943, allocations: 31.89 kB / 0.8333 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.921e-05/0.1944, allocations: 0 / 0.8333 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.77e-05/0.1944, allocations: 0 / 0.8333 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.66e-05/0.1944, allocations: 0 / 0.8333 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.1946, allocations: 19.92 kB / 0.8333 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.848e-05/0.1947, allocations: 11.92 kB / 0.8333 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.738e-05/0.1948, allocations: 7.984 kB / 0.8333 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.84e-05/0.1948, allocations: 0 / 0.8333 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.347e-05/0.1948, allocations: 0 / 0.8333 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.1948, allocations: 8 kB / 0.8333 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.22e-05/0.1949, allocations: 15.98 kB / 0.8334 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.088e-05/0.195, allocations: 0 / 0.8334 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.781e-05/0.195, allocations: 7.938 kB / 0.8334 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.1951, allocations: 32.11 kB / 0.8334 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1951, allocations: 0 / 0.8334 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1951, allocations: 0 / 0.8334 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.1951, allocations: 0 / 0.8334 GB, free: 7.582 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.0003534/0.1955, allocations: 281.8 kB / 0.8337 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.1955, allocations: 13.88 kB / 0.8337 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.434e-05/0.1955, allocations: 30.75 kB / 0.8337 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.593e-05/0.1956, allocations: 8.938 kB / 0.8337 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.586e-05/0.1956, allocations: 106.5 kB / 0.8338 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.1957, allocations: 4.375 kB / 0.8338 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.1957, allocations: 4.375 kB / 0.8338 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.1958, allocations: 79.95 kB / 0.8339 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.1958, allocations: 7.922 kB / 0.8339 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.1958, allocations: 0 / 0.8339 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.1959, allocations: 4 kB / 0.8339 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.634e-05/0.1959, allocations: 53.69 kB / 0.834 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.1963, allocations: 243.8 kB / 0.8342 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.163e-05/0.1964, allocations: 48.28 kB / 0.8342 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.401e-05/0.1964, allocations: 34.55 kB / 0.8343 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.956e-06/0.1964, allocations: 4.062 kB / 0.8343 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.1964, allocations: 30.56 kB / 0.8343 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1964, allocations: 0 / 0.8343 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0002075/0.1966, allocations: 126.7 kB / 0.8344 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.1967, allocations: 77.11 kB / 0.8345 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.1968, allocations: 117.9 kB / 0.8346 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.1968, allocations: 29.7 kB / 0.8346 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.262e-05/0.1969, allocations: 99.94 kB / 0.8347 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.28e-05/0.1969, allocations: 16.06 kB / 0.8348 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.1969, allocations: 17.72 kB / 0.8348 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1971, allocations: 322.8 kB / 0.8351 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.731e-05/0.1971, allocations: 37.69 kB / 0.8351 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.599e-05/0.1972, allocations: 88.5 kB / 0.8352 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.1973, allocations: 134.1 kB / 0.8353 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1973, allocations: 0 / 0.8353 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001727/0.1975, allocations: 148.8 kB / 0.8355 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.77e-05/0.1975, allocations: 33.7 kB / 0.8355 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1975, allocations: 0 / 0.8355 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.1976, allocations: 4 kB / 0.8355 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.56e-05/0.1976, allocations: 16.23 kB / 0.8355 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1976, allocations: 4 kB / 0.8355 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.706e-05/0.1977, allocations: 7.938 kB / 0.8355 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.1977, allocations: 11.94 kB / 0.8355 GB, free: 5.043 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.0001026/0.1978, allocations: 148.1 kB / 0.8357 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.1979, allocations: 11.94 kB / 0.8357 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.471e-05/0.1979, allocations: 3.469 kB / 0.8357 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1979, allocations: 0 / 0.8357 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1979, allocations: 0 / 0.8357 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.1979, allocations: 3.938 kB / 0.8357 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.198, allocations: 128.7 kB / 0.8358 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.198, allocations: 8 kB / 0.8358 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.198, allocations: 0 / 0.8358 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.198, allocations: 0 / 0.8358 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.1981, allocations: 4 kB / 0.8358 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1981, allocations: 0 / 0.8358 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1981, allocations: 0 / 0.8358 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.1982, allocations: 198.8 kB / 0.836 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-06/0.1982, allocations: 0 / 0.836 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.1982, allocations: 0 / 0.836 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.914e-05/0.1983, allocations: 4 kB / 0.836 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.705e-05/0.1983, allocations: 8.016 kB / 0.836 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.1983, allocations: 0 / 0.836 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.164e-05/0.1984, allocations: 91.22 kB / 0.8361 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1984, allocations: 0 / 0.8361 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002409/0.1986, allocations: 12 kB / 0.8361 GB, free: 4.344 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.0004946/0.1991, allocations: 0.7275 MB / 0.8368 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001705/0.1993, allocations: 139 kB / 0.837 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1993, allocations: 8.125 kB / 0.837 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.466e-05/0.1993, allocations: 81.11 kB / 0.8371 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.1995, allocations: 12.42 kB / 0.8371 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004063/0.1999, allocations: 168.2 kB / 0.8372 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.788e-05/0.2, allocations: 67.34 kB / 0.8373 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.151e-05/0.2001, allocations: 11.98 kB / 0.8373 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.2001, allocations: 11.42 kB / 0.8373 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.2001, allocations: 4.062 kB / 0.8373 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03376/0.2339, allocations: 1.956 MB / 0.8392 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.14, allocations: 0 / 0.8392 GB, free: 1.176 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.3672841694206] Failed to read output from testmodel.py, exit status != 0: 11.249018950853497 11.265540432 11.067109337 Calling exit ...