Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001466/0.001466, allocations: 114.7 kB / 17.17 MB, free: 5.98 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.001604/0.001604, allocations: 212 kB / 20.13 MB, free: 3.035 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.393/1.393, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.797/2.797, allocations: 0.49 GB / 0.7923 GB, free: 1.285 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_Sources_Examples_Outside",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_12_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.001949/0.001949, allocations: 59.91 kB / 1.15 GB, free: 14.49 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9569/0.9589, allocations: 176.1 MB / 1.321 GB, free: 7.523 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2174/1.176, allocations: 180.1 MB / 1.497 GB, free: 1.371 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01709/1.193, allocations: 11.04 MB / 1.508 GB, free: 6.301 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001588/1.195, allocations: 43.62 kB / 1.508 GB, free: 6.258 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001346/1.196, allocations: 420.6 kB / 1.509 GB, free: 5.844 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003058/1.199, allocations: 1.144 MB / 1.51 GB, free: 4.699 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004438/1.204, allocations: 1.738 MB / 1.511 GB, free: 2.965 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003211/1.207, allocations: 2.388 MB / 1.514 GB, free: 0.5703 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001797/1.209, allocations: 1.155 MB / 1.515 GB, free: 15.38 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003992/1.213, allocations: 1.479 MB / 1.516 GB, free: 13.91 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001204/1.214, allocations: 0.8247 MB / 1.517 GB, free: 13.08 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002511/1.214, allocations: 160 kB / 1.517 GB, free: 12.93 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002981/1.217, allocations: 1.493 MB / 1.519 GB, free: 11.43 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005173/1.218, allocations: 454.6 kB / 1.519 GB, free: 10.98 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0009096/1.219, allocations: 0.7969 MB / 1.52 GB, free: 10.18 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00422/1.223, allocations: 2.635 MB / 1.522 GB, free: 7.539 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/1.223, allocations: 4 kB / 1.522 GB, free: 7.535 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.323e-06/1.223, allocations: 0 / 1.522 GB, free: 7.535 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.454e-05/1.223, allocations: 0 / 1.522 GB, free: 7.535 MB / 1.201 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.003762/1.227, allocations: 1.963 MB / 1.524 GB, free: 5.508 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/1.227, allocations: 15.98 kB / 1.524 GB, free: 5.492 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.503e-05/1.227, allocations: 38.33 kB / 1.524 GB, free: 5.453 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002141/1.227, allocations: 173.4 kB / 1.525 GB, free: 5.273 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002774/1.23, allocations: 410.6 kB / 1.525 GB, free: 4.871 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/1.231, allocations: 1.004 MB / 1.526 GB, free: 3.824 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-05/1.232, allocations: 102.2 kB / 1.526 GB, free: 3.723 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/1.232, allocations: 120 kB / 1.526 GB, free: 3.605 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00233/1.234, allocations: 1.298 MB / 1.527 GB, free: 2.242 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/1.234, allocations: 4 kB / 1.527 GB, free: 2.238 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/1.234, allocations: 52 kB / 1.528 GB, free: 2.188 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.374e-05/1.234, allocations: 28 kB / 1.528 GB, free: 2.16 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00263/1.237, allocations: 1.445 MB / 1.529 GB, free: 0.707 MB / 1.201 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.00723/1.244, allocations: 4.105 MB / 1.533 GB, free: 12.38 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002372/1.246, allocations: 1.145 MB / 1.534 GB, free: 11.21 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008161/1.247, allocations: 420.8 kB / 1.534 GB, free: 10.8 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008207/1.248, allocations: 433.2 kB / 1.535 GB, free: 10.3 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001215/1.249, allocations: 0.6528 MB / 1.536 GB, free: 9.633 MB / 1.217 GB Notification: Performance of pre-optimization done (n=106): time 2.685e-06/1.249, allocations: 3.938 kB / 1.536 GB, free: 9.629 MB / 1.217 GB Notification: Performance of matching and sorting (n=106): time 0.004303/1.254, allocations: 1.618 MB / 1.537 GB, free: 7.98 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/1.254, allocations: 196.9 kB / 1.537 GB, free: 7.746 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/1.255, allocations: 0.9035 MB / 1.538 GB, free: 6.82 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001041/1.255, allocations: 49.7 kB / 1.538 GB, free: 6.766 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004871/1.256, allocations: 0.5285 MB / 1.539 GB, free: 6.23 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003516/1.256, allocations: 376.8 kB / 1.539 GB, free: 5.859 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003307/1.256, allocations: 190.6 kB / 1.539 GB, free: 5.668 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001658/1.257, allocations: 345.9 kB / 1.54 GB, free: 5.324 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007484/1.257, allocations: 361.8 kB / 1.54 GB, free: 4.969 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000926/1.258, allocations: 0.5049 MB / 1.54 GB, free: 4.43 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001661/1.26, allocations: 0.8446 MB / 1.541 GB, free: 3.57 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.26, allocations: 0 / 1.541 GB, free: 3.57 MB / 1.217 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002662/1.263, allocations: 1.122 MB / 1.542 GB, free: 2.434 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/1.263, allocations: 4 kB / 1.542 GB, free: 2.43 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.263, allocations: 4 kB / 1.542 GB, free: 2.426 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006251/1.263, allocations: 80.88 kB / 1.542 GB, free: 2.344 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/1.264, allocations: 223.7 kB / 1.543 GB, free: 2.125 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002394/1.267, allocations: 1.642 MB / 1.544 GB, free: 344 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/1.268, allocations: 134.1 kB / 1.544 GB, free: 212 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/1.268, allocations: 43.97 kB / 1.544 GB, free: 168 kB / 1.217 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.0006287/1.268, allocations: 331.7 kB / 1.545 GB, free: 15.83 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002557/1.269, allocations: 123.2 kB / 1.545 GB, free: 15.71 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003422/1.272, allocations: 1.505 MB / 1.546 GB, free: 14.18 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/1.272, allocations: 12 kB / 1.546 GB, free: 14.16 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/1.272, allocations: 0 / 1.546 GB, free: 14.16 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/1.272, allocations: 11.91 kB / 1.546 GB, free: 14.15 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.005211/1.277, allocations: 2.855 MB / 1.549 GB, free: 11.2 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/1.277, allocations: 0 / 1.549 GB, free: 11.2 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009329/1.278, allocations: 199.7 kB / 1.549 GB, free: 11 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004486/1.279, allocations: 76.97 kB / 1.549 GB, free: 10.92 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-05/1.279, allocations: 39.97 kB / 1.549 GB, free: 10.88 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002118/1.281, allocations: 1.689 MB / 1.551 GB, free: 9.051 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/1.281, allocations: 3.984 kB / 1.551 GB, free: 9.047 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00391/1.285, allocations: 1.87 MB / 1.553 GB, free: 7.141 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006908/1.285, allocations: 352 kB / 1.553 GB, free: 6.777 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002029/1.286, allocations: 31.94 kB / 1.553 GB, free: 6.746 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009328/1.287, allocations: 70.34 kB / 1.553 GB, free: 6.68 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002649/1.287, allocations: 88.81 kB / 1.553 GB, free: 6.59 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/1.287, allocations: 51.97 kB / 1.554 GB, free: 6.539 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.00108/1.288, allocations: 0.6539 MB / 1.554 GB, free: 5.875 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.11e-07/1.288, allocations: 0 / 1.554 GB, free: 5.875 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001331/1.289, allocations: 458.9 kB / 1.555 GB, free: 5.426 MB / 1.232 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.006239/1.296, allocations: 3.015 MB / 1.558 GB, free: 2.551 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002434/1.298, allocations: 1.027 MB / 1.559 GB, free: 1.508 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/1.298, allocations: 4 kB / 1.559 GB, free: 1.504 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001257/1.299, allocations: 0.6211 MB / 1.559 GB, free: 0.8711 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002365/1.302, allocations: 0.5252 MB / 1.56 GB, free: 372 kB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0159/1.318, allocations: 8.882 MB / 1.568 GB, free: 7.285 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009126/1.318, allocations: 1.166 MB / 1.569 GB, free: 6.09 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001416/1.32, allocations: 373.8 kB / 1.57 GB, free: 5.723 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008958/1.321, allocations: 0.5383 MB / 1.57 GB, free: 5.184 MB / 1.248 GB Notification: Performance of SimCode: time 7.22e-07/1.321, allocations: 0 / 1.57 GB, free: 5.184 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07862/1.399, allocations: 33.68 MB / 1.603 GB, free: 3.863 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.36/15.76, allocations: 0.8125 kB / 1.603 GB, free: 3.863 MB / 1.279 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.Outside_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 21.86465445201611] Failed to read output from testmodel.py, exit status != 0: 16.024610438966192 16.039815271 14.813799295 Calling exit ...