Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001303/0.001303, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001523/0.001523, allocations: 213.9 kB / 22.25 MB, free: 4.855 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.415/1.415, allocations: 230.6 MB / 256 MB, free: 7.793 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.002622/0.002622, allocations: 290.6 kB / 312.7 MB, free: 2.605 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.176/1.176, allocations: 180.6 MB / 0.5369 GB, free: 14.62 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.Fluid.Sources.Examples.Outside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside",fmuType="me",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.002835/0.002835, allocations: 98.38 kB / 0.7395 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1746, allocations: 95.38 MB / 0.8326 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside): time 0.5884/0.763, allocations: 155.8 MB / 0.9848 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01408/0.7771, allocations: 10.3 MB / 0.9948 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.7783, allocations: 43.97 kB / 0.9949 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.7793, allocations: 427.9 kB / 0.9953 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002922/0.7823, allocations: 1.128 MB / 0.9964 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004255/0.7865, allocations: 1.756 MB / 0.9981 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002902/0.7894, allocations: 2.402 MB / 1 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001699/0.7911, allocations: 1.111 MB / 1.002 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003786/0.7949, allocations: 1.329 MB / 1.003 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001456/0.7964, allocations: 0.7684 MB / 1.004 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003207/0.7967, allocations: 157.3 kB / 1.004 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002949/0.7996, allocations: 1.269 MB / 1.005 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003943/0.8, allocations: 468 kB / 1.005 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007541/0.8008, allocations: 0.6482 MB / 1.006 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003602/0.8044, allocations: 2.629 MB / 1.009 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.8044, allocations: 1 kB / 1.009 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8044, allocations: 1.375 kB / 1.009 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.308e-05/0.8044, allocations: 0 / 1.009 GB, free: 3.02 MB / 0.7169 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.003253/0.8077, allocations: 1.897 MB / 1.01 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.8077, allocations: 11.91 kB / 1.01 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001996/0.8079, allocations: 175.4 kB / 1.011 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002604/0.8105, allocations: 402.4 kB / 1.011 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001765/0.8123, allocations: 0.9302 MB / 1.012 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.18e-05/0.8123, allocations: 85.77 kB / 1.012 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.8125, allocations: 116.4 kB / 1.012 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/0.8146, allocations: 1.672 MB / 1.014 GB, free: 17 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.8146, allocations: 6.094 kB / 1.014 GB, free: 17 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.8147, allocations: 51.98 kB / 1.014 GB, free: 17 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.8148, allocations: 29.38 kB / 1.014 GB, free: 17 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002061/0.8168, allocations: 1.402 MB / 1.015 GB, free: 16.98 MB / 0.7325 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.005331/0.8222, allocations: 3.153 MB / 1.018 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.8239, allocations: 1.075 MB / 1.019 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006232/0.8246, allocations: 413.6 kB / 1.02 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005548/0.8251, allocations: 116.6 kB / 1.02 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001103/0.8262, allocations: 0.8919 MB / 1.021 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=106): time 2.946e-06/0.8262, allocations: 0.9375 kB / 1.021 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=106): time 0.003473/0.8297, allocations: 1.537 MB / 1.022 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.8298, allocations: 192.4 kB / 1.022 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.8309, allocations: 0.9067 MB / 1.023 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.222e-05/0.831, allocations: 48.73 kB / 1.023 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003631/0.8313, allocations: 0.532 MB / 1.024 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/0.8315, allocations: 375.9 kB / 1.024 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000262/0.8318, allocations: 199.2 kB / 1.024 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.8319, allocations: 345.9 kB / 1.025 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006262/0.8326, allocations: 358 kB / 1.025 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008148/0.8334, allocations: 0.681 MB / 1.026 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.8347, allocations: 0.8442 MB / 1.027 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.8347, allocations: 0 / 1.027 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002149/0.8369, allocations: 1.123 MB / 1.028 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.8369, allocations: 8.188 kB / 1.028 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.8369, allocations: 0.875 kB / 1.028 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005496/0.8375, allocations: 86.03 kB / 1.028 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008832/0.8383, allocations: 220.1 kB / 1.028 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/0.8403, allocations: 1.541 MB / 1.029 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008953/0.8411, allocations: 126.4 kB / 1.03 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.199e-05/0.8412, allocations: 44.73 kB / 1.03 GB, free: 12.55 MB / 0.7325 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.0005235/0.8418, allocations: 326.1 kB / 1.03 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/0.8419, allocations: 132 kB / 1.03 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002657/0.8446, allocations: 1.507 MB / 1.032 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.8446, allocations: 11.88 kB / 1.032 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.8446, allocations: 0 / 1.032 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.8446, allocations: 12.94 kB / 1.032 GB, free: 12.21 MB / 0.7325 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.004259/0.8489, allocations: 2.519 MB / 1.034 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.8489, allocations: 2.219 kB / 1.034 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007908/0.8497, allocations: 196.9 kB / 1.034 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004028/0.8501, allocations: 77.52 kB / 1.034 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.116e-05/0.8502, allocations: 40.83 kB / 1.034 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001842/0.852, allocations: 1.571 MB / 1.036 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.852, allocations: 1 kB / 1.036 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003211/0.8552, allocations: 1.872 MB / 1.038 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007071/0.8559, allocations: 278.6 kB / 1.038 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/0.8561, allocations: 23.94 kB / 1.038 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000827/0.8569, allocations: 76.44 kB / 1.038 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001888/0.8571, allocations: 94.47 kB / 1.038 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.741e-05/0.8572, allocations: 51.34 kB / 1.038 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008151/0.858, allocations: 0.6454 MB / 1.039 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.858, allocations: 0 / 1.039 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001169/0.8592, allocations: 470.8 kB / 1.039 GB, free: 9.969 MB / 0.7325 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.005817/0.865, allocations: 3.042 MB / 1.042 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00215/0.8671, allocations: 1.029 MB / 1.043 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/0.8672, allocations: 7.062 kB / 1.043 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.8683, allocations: 0.6296 MB / 1.044 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002312/0.8706, allocations: 0.5189 MB / 1.044 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/0.885, allocations: 8.892 MB / 1.053 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000552/0.8856, allocations: 0.5784 MB / 1.054 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001239/0.8868, allocations: 372.5 kB / 1.054 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007694/0.8876, allocations: 0.536 MB / 1.054 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of SimCode: time 9.52e-07/0.8876, allocations: 0 / 1.054 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08182/0.9694, allocations: 36.23 MB / 1.09 GB, free: 7.887 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/14.45, allocations: 11.02 kB / 1.09 GB, free: 7.879 MB / 0.7637 GB " [Timeout remaining time 645] (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.21512508764863] Failed to read output from testmodel.py, exit status != 0: 14.680601147003472 14.69783796 13.890017554 Calling exit ...