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.001808/0.001808, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.002219/0.002219, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.532/1.532, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.002362/0.002362, allocations: 283.6 kB / 309.8 MB, free: 3.414 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.112/1.112, allocations: 180.6 MB / 0.5338 GB, free: 12.41 MB / 398.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.00366/0.00366, allocations: 99.84 kB / 0.7347 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5993/0.603, allocations: 95.33 MB / 0.8278 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002514/0.6055, allocations: 1.509 MB / 0.8293 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008663/0.6063, allocations: 0.5031 MB / 0.8297 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.28e-05/0.6064, allocations: 5.031 kB / 0.8298 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.096e-05/0.6064, allocations: 5.25 kB / 0.8298 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002741/0.6067, allocations: 29.16 kB / 0.8298 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 8.751e-05/0.6068, allocations: 19.42 kB / 0.8298 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.6069, allocations: 54.67 kB / 0.8299 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.651e-05/0.607, allocations: 7.891 kB / 0.8299 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/0.6072, allocations: 26.98 kB / 0.8299 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.64e-05/0.6072, allocations: 23.67 kB / 0.8299 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.6073, allocations: 2.938 kB / 0.8299 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.185e-05/0.6073, allocations: 8.094 kB / 0.8299 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.046e-05/0.6073, allocations: 17.66 kB / 0.8299 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.571e-05/0.6073, allocations: 15.52 kB / 0.83 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.824e-05/0.6074, allocations: 43.02 kB / 0.83 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.6074, allocations: 0.7031 kB / 0.83 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6074, allocations: 0 / 0.83 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.6074, allocations: 2.344 kB / 0.83 GB, free: 1.527 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.0004707/0.6079, allocations: 355.1 kB / 0.8303 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.6079, allocations: 11.47 kB / 0.8303 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.465e-05/0.608, allocations: 2.938 kB / 0.8303 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.402e-05/0.608, allocations: 36.2 kB / 0.8304 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.003e-05/0.608, allocations: 7.641 kB / 0.8304 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.6081, allocations: 174.7 kB / 0.8306 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.6081, allocations: 384 / 0.8306 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.6082, allocations: 3.062 kB / 0.8306 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.6083, allocations: 58.3 kB / 0.8306 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.6083, allocations: 0 / 0.8306 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.6083, allocations: 3.984 kB / 0.8306 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.6083, allocations: 5.531 kB / 0.8306 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.693e-05/0.6083, allocations: 21.2 kB / 0.8306 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000289/0.6086, allocations: 272.2 kB / 0.8309 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.997e-05/0.6087, allocations: 43 kB / 0.8309 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.968e-05/0.6088, allocations: 20.42 kB / 0.831 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.6088, allocations: 1.188 kB / 0.831 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.609, allocations: 69.66 kB / 0.831 GB, free: 464 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.609, allocations: 3.938 kB / 0.831 GB, free: 460 kB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0002075/0.6092, allocations: 81.2 kB / 0.8311 GB, free: 408 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.6092, allocations: 52.16 kB / 0.8312 GB, free: 344 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.092e-05/0.6093, allocations: 110.9 kB / 0.8313 GB, free: 236 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.6093, allocations: 33.08 kB / 0.8313 GB, free: 200 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.368e-05/0.6093, allocations: 81.5 kB / 0.8314 GB, free: 116 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.6093, allocations: 22.69 kB / 0.8314 GB, free: 96 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.6094, allocations: 19.53 kB / 0.8314 GB, free: 76 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.6095, allocations: 319.5 kB / 0.8317 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.124e-05/0.6095, allocations: 14.36 kB / 0.8317 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.327e-05/0.6095, allocations: 12.58 kB / 0.8317 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.39e-05/0.6096, allocations: 33.12 kB / 0.8318 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.6096, allocations: 0 / 0.8318 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001132/0.6097, allocations: 73.98 kB / 0.8319 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.6097, allocations: 5.094 kB / 0.8319 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.6097, allocations: 4 kB / 0.8319 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.6098, allocations: 2.906 kB / 0.8319 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.954e-05/0.6098, allocations: 6.984 kB / 0.8319 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.6098, allocations: 0 / 0.8319 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.811e-05/0.6099, allocations: 5.312 kB / 0.8319 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.6099, allocations: 0.75 kB / 0.8319 GB, free: 15.67 MB / 0.5919 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 9.177e-05/0.61, allocations: 120.8 kB / 0.832 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/0.61, allocations: 6.859 kB / 0.832 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.61, allocations: 9.188 kB / 0.832 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.61, allocations: 2.938 kB / 0.832 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.61, allocations: 0 / 0.832 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.61, allocations: 0.7969 kB / 0.832 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.6102, allocations: 171.8 kB / 0.8322 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.6102, allocations: 2.688 kB / 0.8322 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.926e-05/0.6102, allocations: 7.469 kB / 0.8322 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.6102, allocations: 0 / 0.8322 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.6102, allocations: 5.578 kB / 0.8322 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.6102, allocations: 0.7969 kB / 0.8322 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6102, allocations: 1.281 kB / 0.8322 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.6104, allocations: 97.05 kB / 0.8323 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.695e-05/0.6104, allocations: 86.47 kB / 0.8324 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.6105, allocations: 0.7969 kB / 0.8324 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.603e-05/0.6105, allocations: 3.484 kB / 0.8324 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.6106, allocations: 5.844 kB / 0.8324 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.6106, allocations: 0.8281 kB / 0.8324 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.857e-05/0.6106, allocations: 94.95 kB / 0.8325 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.6106, allocations: 4 kB / 0.8325 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002025/0.6108, allocations: 18.94 kB / 0.8325 GB, free: 15.04 MB / 0.5919 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.0005076/0.6113, allocations: 0.6372 MB / 0.8331 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.6115, allocations: 31.47 kB / 0.8331 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6115, allocations: 3.938 kB / 0.8331 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.576e-05/0.6115, allocations: 22.17 kB / 0.8332 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.6117, allocations: 8.859 kB / 0.8332 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.6129, allocations: 1.215 MB / 0.8344 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.6132, allocations: 0.6826 MB / 0.835 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.803e-05/0.6132, allocations: 3.906 kB / 0.835 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.25e-05/0.6132, allocations: 14.56 kB / 0.835 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of SimCode: time 2.51e-07/0.6132, allocations: 0 / 0.835 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01883/0.6321, allocations: 1.6 MB / 0.8366 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.278/8.91, allocations: 7.188 kB / 0.8366 GB, free: 12.2 MB / 0.5919 GB " [Timeout remaining time 651] (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: 13.050279552000575] Failed to read output from testmodel.py, exit status != 0: 9.035990306001622 9.058173302 8.446929688 Calling exit ...