Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.001416/0.001416, allocations: 118.2 kB / 17.17 MB, free: 6 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.001512/0.001512, allocations: 211.3 kB / 20.13 MB, free: 3.055 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.482/1.482, 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.002557/0.002557, allocations: 279.3 kB / 309.8 MB, free: 3.477 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.11/1.11, allocations: 180.6 MB / 0.5338 GB, free: 12.44 MB / 398.1 MB " [Timeout remaining time 178] 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.CheckTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",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.003049/0.003049, allocations: 107.8 kB / 0.7347 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5859/0.589, allocations: 95.34 MB / 0.8278 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003269/0.5922, allocations: 1.925 MB / 0.8297 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002317/0.5946, allocations: 1.759 MB / 0.8314 GB, free: 496 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.5947, allocations: 0 / 0.8314 GB, free: 496 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.595, allocations: 31.94 kB / 0.8314 GB, free: 476 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004518/0.5954, allocations: 115.6 kB / 0.8315 GB, free: 408 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004854/0.5959, allocations: 176.9 kB / 0.8317 GB, free: 316 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003645/0.5963, allocations: 292.8 kB / 0.832 GB, free: 188 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.5964, allocations: 26.66 kB / 0.832 GB, free: 176 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.5966, allocations: 100.6 kB / 0.8321 GB, free: 136 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002722/0.5968, allocations: 115 kB / 0.8322 GB, free: 84 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.108e-05/0.5969, allocations: 25.34 kB / 0.8322 GB, free: 80 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002366/0.5971, allocations: 129.5 kB / 0.8324 GB, free: 44 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.5972, allocations: 92.55 kB / 0.8325 GB, free: 0 / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.5974, allocations: 126.4 kB / 0.8326 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006169/0.598, allocations: 381.9 kB / 0.8329 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.598, allocations: 0 / 0.8329 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.184e-06/0.598, allocations: 1.281 kB / 0.8329 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.627e-06/0.598, allocations: 0 / 0.8329 GB, free: 15.76 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001098/0.5991, allocations: 0.5862 MB / 0.8335 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.5992, allocations: 9.828 kB / 0.8335 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.626e-05/0.5992, allocations: 8.438 kB / 0.8335 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.959e-05/0.5993, allocations: 58.19 kB / 0.8336 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.5995, allocations: 39.09 kB / 0.8336 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000395/0.5998, allocations: 284.5 kB / 0.8339 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.5999, allocations: 15.66 kB / 0.8339 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.5999, allocations: 20.44 kB / 0.8339 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000441/0.6003, allocations: 234.4 kB / 0.8342 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.6004, allocations: 0 / 0.8342 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/0.6004, allocations: 14.86 kB / 0.8342 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.6004, allocations: 3.969 kB / 0.8342 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.6014, allocations: 0.7582 MB / 0.8349 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.6026, allocations: 0.6381 MB / 0.8355 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005273/0.6031, allocations: 281.8 kB / 0.8358 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.6033, allocations: 109.7 kB / 0.8359 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.681e-05/0.6033, allocations: 17.39 kB / 0.8359 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004413/0.6038, allocations: 181.4 kB / 0.8361 GB, free: 14 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=35): time 1.773e-06/0.6038, allocations: 2.719 kB / 0.8361 GB, free: 14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=35): time 0.0007425/0.6045, allocations: 381.7 kB / 0.8365 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.6046, allocations: 138.4 kB / 0.8366 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003716/0.605, allocations: 320.2 kB / 0.8369 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/0.605, allocations: 36.05 kB / 0.8369 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.6051, allocations: 137.1 kB / 0.8371 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.6053, allocations: 125.5 kB / 0.8372 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.6054, allocations: 60.94 kB / 0.8372 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.6056, allocations: 338.8 kB / 0.8376 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.6057, allocations: 83.42 kB / 0.8376 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.6059, allocations: 130 kB / 0.8378 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000331/0.6063, allocations: 221.5 kB / 0.838 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6063, allocations: 1.188 kB / 0.838 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004555/0.6067, allocations: 279.4 kB / 0.8382 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.6067, allocations: 8.812 kB / 0.8383 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.6067, allocations: 3.938 kB / 0.8383 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.6068, allocations: 3.344 kB / 0.8383 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.607, allocations: 65.86 kB / 0.8383 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.607, allocations: 0 / 0.8383 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.6072, allocations: 28.31 kB / 0.8384 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.6072, allocations: 15.27 kB / 0.8384 GB, free: 12.58 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001869/0.6074, allocations: 168.5 kB / 0.8385 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-05/0.6074, allocations: 30.94 kB / 0.8386 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007135/0.6082, allocations: 390.5 kB / 0.8389 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.6082, allocations: 4.438 kB / 0.8389 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.6082, allocations: 0 / 0.8389 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.6082, allocations: 3.688 kB / 0.8389 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003909/0.6086, allocations: 347.3 kB / 0.8393 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.6086, allocations: 0 / 0.8393 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.6087, allocations: 58.14 kB / 0.8393 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.6087, allocations: 4.969 kB / 0.8393 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/0.6088, allocations: 16.16 kB / 0.8393 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.6088, allocations: 0 / 0.8393 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6088, allocations: 6.516 kB / 0.8394 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005529/0.6093, allocations: 329.7 kB / 0.8397 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.6095, allocations: 150.7 kB / 0.8398 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.392e-05/0.6095, allocations: 6.5 kB / 0.8398 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.6097, allocations: 23.23 kB / 0.8398 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.98e-05/0.6098, allocations: 29.55 kB / 0.8399 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-05/0.6098, allocations: 11.53 kB / 0.8399 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002804/0.6101, allocations: 248.1 kB / 0.8401 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.6101, allocations: 0 / 0.8401 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003624/0.6105, allocations: 80 kB / 0.8402 GB, free: 11.52 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,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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.002393/0.6129, allocations: 1.223 MB / 0.8414 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004772/0.6133, allocations: 218 kB / 0.8416 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.6133, allocations: 4 kB / 0.8416 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.6136, allocations: 120.8 kB / 0.8417 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.6139, allocations: 57.8 kB / 0.8418 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00375/0.6176, allocations: 2.578 MB / 0.8443 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005114/0.6182, allocations: 0.7698 MB / 0.845 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003802/0.6185, allocations: 141 kB / 0.8452 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.6187, allocations: 104 kB / 0.8453 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of SimCode: time 6.01e-07/0.6187, allocations: 0 / 0.8453 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03114/0.6498, allocations: 6.616 MB / 0.8517 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.666/9.316, allocations: 8.422 kB / 0.8517 GB, free: 6.773 MB / 0.5919 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.48312045703642] Failed to read output from testmodel.py, exit status != 0: 9.539672459999565 9.554584691 8.953464789 Calling exit ...