Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.001275/0.001275, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.001488/0.001488, allocations: 214 kB / 23.03 MB, free: 4.953 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.454/1.454, allocations: 230.6 MB / 256.8 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.002458/0.002458, allocations: 284 kB / 313.5 MB, free: 2.621 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.251/1.251, allocations: 180.6 MB / 0.5377 GB, free: 14.61 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.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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.002786/0.002786, allocations: 96.56 kB / 0.7403 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1905, allocations: 95.38 MB / 0.8334 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002849/0.1934, allocations: 1.494 MB / 0.8349 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000909/0.1943, allocations: 480.4 kB / 0.8353 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.95e-05/0.1943, allocations: 0 / 0.8353 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.991e-05/0.1943, allocations: 3.938 kB / 0.8353 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002326/0.1946, allocations: 31.84 kB / 0.8354 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 8.354e-05/0.1946, allocations: 15.98 kB / 0.8354 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.601e-05/0.1947, allocations: 55.78 kB / 0.8354 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.165e-05/0.1948, allocations: 7.938 kB / 0.8354 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.195, allocations: 27.91 kB / 0.8355 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.192e-05/0.1951, allocations: 27.86 kB / 0.8355 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.1951, allocations: 4 kB / 0.8355 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.439e-05/0.1951, allocations: 4 kB / 0.8355 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.414e-05/0.1951, allocations: 11.92 kB / 0.8355 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.295e-05/0.1952, allocations: 15.94 kB / 0.8355 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.917e-05/0.1953, allocations: 47.8 kB / 0.8356 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1953, allocations: 0 / 0.8356 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1953, allocations: 4 kB / 0.8356 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.1953, allocations: 0 / 0.8356 GB, free: 6.109 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005352/0.1958, allocations: 278.2 kB / 0.8358 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.1959, allocations: 9.344 kB / 0.8358 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.624e-05/0.1959, allocations: 4.188 kB / 0.8359 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.312e-05/0.1959, allocations: 34.75 kB / 0.8359 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.795e-05/0.196, allocations: 8.875 kB / 0.8359 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.1961, allocations: 110.5 kB / 0.836 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.1961, allocations: 4.375 kB / 0.836 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.1961, allocations: 4.375 kB / 0.836 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.1962, allocations: 61.55 kB / 0.8361 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1962, allocations: 0 / 0.8361 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1962, allocations: 0 / 0.8361 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1962, allocations: 0 / 0.8361 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.931e-05/0.1963, allocations: 16 kB / 0.8361 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.1967, allocations: 243.9 kB / 0.8363 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.1968, allocations: 42.5 kB / 0.8364 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.607e-05/0.1968, allocations: 20.84 kB / 0.8364 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.1968, allocations: 4 kB / 0.8364 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001754/0.197, allocations: 75.41 kB / 0.8364 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.197, allocations: 0 / 0.8364 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0002254/0.1972, allocations: 85.55 kB / 0.8365 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.1973, allocations: 55.41 kB / 0.8366 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.896e-05/0.1974, allocations: 113.8 kB / 0.8367 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.1974, allocations: 29.7 kB / 0.8367 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/0.1974, allocations: 80.14 kB / 0.8368 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.1975, allocations: 19.89 kB / 0.8368 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.1975, allocations: 17.72 kB / 0.8368 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002237/0.1977, allocations: 318.8 kB / 0.8371 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.3e-05/0.1978, allocations: 12 kB / 0.8371 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.691e-05/0.1978, allocations: 20.38 kB / 0.8372 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.36e-05/0.1979, allocations: 32.84 kB / 0.8372 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1979, allocations: 0 / 0.8372 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001114/0.198, allocations: 65.59 kB / 0.8373 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.198, allocations: 8 kB / 0.8373 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.198, allocations: 3.984 kB / 0.8373 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.198, allocations: 0 / 0.8373 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.614e-05/0.1981, allocations: 8 kB / 0.8373 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1981, allocations: 0 / 0.8373 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.609e-05/0.1981, allocations: 0 / 0.8373 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.1982, allocations: 8 kB / 0.8373 GB, free: 4.156 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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.0001075/0.1983, allocations: 122.4 kB / 0.8374 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.32e-05/0.1983, allocations: 3.953 kB / 0.8374 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.693e-05/0.1983, allocations: 8.062 kB / 0.8374 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1983, allocations: 4 kB / 0.8374 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1983, allocations: 0 / 0.8374 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1983, allocations: 0 / 0.8374 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.1985, allocations: 132.7 kB / 0.8375 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1985, allocations: 0 / 0.8375 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.501e-05/0.1985, allocations: 15.92 kB / 0.8376 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1985, allocations: 8 kB / 0.8376 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.1985, allocations: 0 / 0.8376 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1985, allocations: 0 / 0.8376 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1985, allocations: 0 / 0.8376 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.1987, allocations: 97.19 kB / 0.8377 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.552e-05/0.1987, allocations: 11.88 kB / 0.8377 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.1987, allocations: 7.938 kB / 0.8377 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.854e-05/0.1988, allocations: 4 kB / 0.8377 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.1988, allocations: 7.984 kB / 0.8377 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.1988, allocations: 0 / 0.8377 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.508e-05/0.1989, allocations: 95.2 kB / 0.8378 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1989, allocations: 4 kB / 0.8378 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001861/0.1991, allocations: 15.94 kB / 0.8378 GB, free: 3.551 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: 2 ($whenCondition1,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000488/0.1996, allocations: 0.6319 MB / 0.8384 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001209/0.1997, allocations: 31.98 kB / 0.8385 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1997, allocations: 0 / 0.8385 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.03e-05/0.1997, allocations: 23.92 kB / 0.8385 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.1999, allocations: 4 kB / 0.8385 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.2012, allocations: 1.218 MB / 0.8397 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.876e-05/0.2013, allocations: 75.3 kB / 0.8397 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.667e-05/0.2013, allocations: 0 / 0.8397 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.017e-05/0.2013, allocations: 19.42 kB / 0.8398 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.2013, allocations: 0 / 0.8398 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02163/0.223, allocations: 1.702 MB / 0.8414 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.47, allocations: 20.84 kB / 0.8414 GB, free: 15.9 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.687688149977475] Failed to read output from testmodel.py, exit status != 0: 11.629446138977073 11.648037713999999 11.44985836 Calling exit ...