Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.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.001541/0.001541, allocations: 116.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.001621/0.001621, allocations: 212 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.405/1.405, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.814/2.814, allocations: 0.5003 GB / 0.8026 GB, free: 6.727 MB / 0.6387 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.001942/0.001942, allocations: 67.91 kB / 1.165 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8931/0.8951, allocations: 178.9 MB / 1.34 GB, free: 16.22 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2146/1.11, allocations: 180.1 MB / 1.516 GB, free: 4.059 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01617/1.126, allocations: 11.04 MB / 1.527 GB, free: 8.992 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/1.127, allocations: 39.69 kB / 1.527 GB, free: 8.953 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001376/1.129, allocations: 436.5 kB / 1.527 GB, free: 8.523 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003419/1.132, allocations: 1.127 MB / 1.528 GB, free: 7.395 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004335/1.136, allocations: 1.744 MB / 1.53 GB, free: 5.656 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003364/1.14, allocations: 2.377 MB / 1.532 GB, free: 3.27 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002069/1.142, allocations: 1.17 MB / 1.534 GB, free: 2.059 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004182/1.146, allocations: 1.47 MB / 1.535 GB, free: 0.5977 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001372/1.147, allocations: 0.8246 MB / 1.536 GB, free: 15.77 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0004197/1.148, allocations: 160 kB / 1.536 GB, free: 15.61 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003141/1.151, allocations: 1.493 MB / 1.537 GB, free: 14.12 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006422/1.151, allocations: 462.5 kB / 1.538 GB, free: 13.66 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001121/1.153, allocations: 0.7852 MB / 1.539 GB, free: 12.88 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004862/1.157, allocations: 2.643 MB / 1.541 GB, free: 10.22 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/1.157, allocations: 0 / 1.541 GB, free: 10.22 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.593e-06/1.157, allocations: 0 / 1.541 GB, free: 10.22 MB / 1.217 GB Notification: Performance of Transformations before backend: time 4.935e-05/1.158, allocations: 0 / 1.541 GB, free: 10.22 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004244/1.162, allocations: 1.97 MB / 1.543 GB, free: 8.191 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/1.162, allocations: 8.031 kB / 1.543 GB, free: 8.184 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.462e-05/1.162, allocations: 30.33 kB / 1.543 GB, free: 8.152 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002753/1.162, allocations: 185.4 kB / 1.543 GB, free: 7.961 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003001/1.165, allocations: 402.6 kB / 1.544 GB, free: 7.566 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002058/1.167, allocations: 1.008 MB / 1.545 GB, free: 6.512 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.935e-05/1.167, allocations: 94.25 kB / 1.545 GB, free: 6.418 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002509/1.168, allocations: 116 kB / 1.545 GB, free: 6.305 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00272/1.17, allocations: 1.294 MB / 1.546 GB, free: 4.945 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/1.17, allocations: 0 / 1.546 GB, free: 4.945 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/1.17, allocations: 48 kB / 1.546 GB, free: 4.898 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.706e-05/1.17, allocations: 32 kB / 1.546 GB, free: 4.867 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002804/1.173, allocations: 1.457 MB / 1.548 GB, free: 3.402 MB / 1.217 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007582/1.181, allocations: 4.096 MB / 1.552 GB, free: 15.09 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002546/1.183, allocations: 1.153 MB / 1.553 GB, free: 13.91 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008884/1.184, allocations: 420.2 kB / 1.553 GB, free: 13.5 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007982/1.185, allocations: 429.1 kB / 1.554 GB, free: 13.01 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001353/1.186, allocations: 0.6567 MB / 1.554 GB, free: 12.34 MB / 1.232 GB Notification: Performance of pre-optimization done (n=106): time 3.096e-06/1.186, allocations: 3.938 kB / 1.554 GB, free: 12.34 MB / 1.232 GB Notification: Performance of matching and sorting (n=106): time 0.004722/1.191, allocations: 1.614 MB / 1.556 GB, free: 10.7 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/1.191, allocations: 196.9 kB / 1.556 GB, free: 10.46 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001679/1.193, allocations: 0.9035 MB / 1.557 GB, free: 9.535 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0002404/1.193, allocations: 53.69 kB / 1.557 GB, free: 9.477 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.00061/1.194, allocations: 0.5363 MB / 1.557 GB, free: 8.934 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.000528/1.194, allocations: 368.8 kB / 1.558 GB, free: 8.57 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004729/1.195, allocations: 186.6 kB / 1.558 GB, free: 8.383 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001856/1.195, allocations: 349.9 kB / 1.558 GB, free: 8.035 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008781/1.196, allocations: 357.8 kB / 1.559 GB, free: 7.684 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/1.197, allocations: 0.4971 MB / 1.559 GB, free: 7.148 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001865/1.199, allocations: 0.8524 MB / 1.56 GB, free: 6.281 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/1.199, allocations: 0 / 1.56 GB, free: 6.281 MB / 1.232 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003192/1.202, allocations: 1.13 MB / 1.561 GB, free: 5.141 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/1.202, allocations: 5.562 kB / 1.561 GB, free: 5.137 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/1.202, allocations: 4 kB / 1.561 GB, free: 5.133 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006465/1.203, allocations: 88.86 kB / 1.561 GB, free: 5.043 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/1.204, allocations: 219.7 kB / 1.561 GB, free: 4.828 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002546/1.206, allocations: 1.645 MB / 1.563 GB, free: 3.039 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/1.208, allocations: 119.2 kB / 1.563 GB, free: 2.922 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002185/1.208, allocations: 43.97 kB / 1.563 GB, free: 2.879 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009351/1.209, allocations: 333.5 kB / 1.563 GB, free: 2.543 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005108/1.209, allocations: 123.2 kB / 1.564 GB, free: 2.422 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003918/1.213, allocations: 1.513 MB / 1.565 GB, free: 0.8828 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.997e-05/1.213, allocations: 12 kB / 1.565 GB, free: 0.8711 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/1.213, allocations: 0 / 1.565 GB, free: 0.8711 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.178e-05/1.213, allocations: 7.922 kB / 1.565 GB, free: 0.8633 MB / 1.232 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006914/1.22, allocations: 2.871 MB / 1.568 GB, free: 13.88 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/1.22, allocations: 4 kB / 1.568 GB, free: 13.88 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/1.221, allocations: 195.8 kB / 1.568 GB, free: 13.68 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004855/1.222, allocations: 80.91 kB / 1.568 GB, free: 13.6 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001719/1.222, allocations: 31.98 kB / 1.568 GB, free: 13.57 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002185/1.224, allocations: 1.674 MB / 1.57 GB, free: 11.75 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.224, allocations: 4.031 kB / 1.57 GB, free: 11.75 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004143/1.228, allocations: 1.867 MB / 1.572 GB, free: 9.848 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000729/1.229, allocations: 359.9 kB / 1.572 GB, free: 9.477 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002614/1.229, allocations: 31.94 kB / 1.572 GB, free: 9.445 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009899/1.23, allocations: 75.92 kB / 1.572 GB, free: 9.371 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002108/1.23, allocations: 88.81 kB / 1.572 GB, free: 9.281 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/1.231, allocations: 47.97 kB / 1.572 GB, free: 9.234 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001061/1.232, allocations: 0.6423 MB / 1.573 GB, free: 8.582 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.21e-07/1.232, allocations: 0 / 1.573 GB, free: 8.582 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001326/1.233, allocations: 462.9 kB / 1.573 GB, free: 8.129 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006059/1.239, allocations: 3.018 MB / 1.576 GB, free: 5.25 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002335/1.241, allocations: 1.03 MB / 1.577 GB, free: 4.207 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.241, allocations: 0 / 1.577 GB, free: 4.207 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001262/1.243, allocations: 0.6295 MB / 1.578 GB, free: 3.562 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/1.245, allocations: 0.5172 MB / 1.578 GB, free: 3.07 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01579/1.261, allocations: 8.886 MB / 1.587 GB, free: 9.992 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000936/1.262, allocations: 1.17 MB / 1.588 GB, free: 8.797 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001356/1.263, allocations: 369.9 kB / 1.588 GB, free: 8.434 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009025/1.264, allocations: 0.5383 MB / 1.589 GB, free: 7.895 MB / 1.264 GB Notification: Performance of SimCode: time 9.42e-07/1.264, allocations: 0 / 1.589 GB, free: 7.895 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0786/1.342, allocations: 33.68 MB / 1.622 GB, free: 6.559 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.18/15.52, allocations: 9.406 kB / 1.622 GB, free: 6.551 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 21.697062528983224] Failed to read output from testmodel.py, exit status != 0: 15.786911228962708 15.803601961 14.642624726 Calling exit ...