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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 194.9 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 239.9 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001983/0.001983, allocations: 287 kB / 290.3 MB, free: 2.062 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9339/0.9339, allocations: 169.2 MB / 0.4978 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 94.12 kB / 0.5948 GB, free: 28.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1504, allocations: 86.99 MB / 0.6797 GB, free: 0.957 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside): time 0.4651/0.6156, allocations: 173.7 MB / 0.8493 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01399/0.6296, allocations: 10.7 MB / 0.8598 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001871/0.6315, allocations: 31.97 kB / 0.8598 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001309/0.6329, allocations: 336.3 kB / 0.8601 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00324/0.6362, allocations: 0.9563 MB / 0.8611 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003576/0.6398, allocations: 1.548 MB / 0.8626 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002161/0.6419, allocations: 2.294 MB / 0.8648 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001617/0.6436, allocations: 1.431 MB / 0.8662 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00321/0.6468, allocations: 1.252 MB / 0.8674 GB, free: 272 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008917/0.6477, allocations: 0.8115 MB / 0.8682 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001739/0.6479, allocations: 159.7 kB / 0.8684 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00253/0.6504, allocations: 1.42 MB / 0.8698 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003614/0.6508, allocations: 458.2 kB / 0.8702 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006399/0.6514, allocations: 0.7697 MB / 0.8709 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002983/0.6544, allocations: 2.571 MB / 0.8735 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.6544, allocations: 0 / 0.8735 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6544, allocations: 0 / 0.8735 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.883e-05/0.6545, allocations: 0 / 0.8735 GB, free: 12.36 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003033/0.6575, allocations: 1.881 MB / 0.8753 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.6575, allocations: 9.531 kB / 0.8753 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000194/0.6577, allocations: 178.5 kB / 0.8755 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00209/0.6598, allocations: 356.7 kB / 0.8758 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.6612, allocations: 0.9481 MB / 0.8767 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.241e-05/0.6612, allocations: 85.89 kB / 0.8768 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.6614, allocations: 116.3 kB / 0.8769 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002065/0.6635, allocations: 1.299 MB / 0.8782 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.6635, allocations: 0 / 0.8782 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.6636, allocations: 48.22 kB / 0.8782 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.6637, allocations: 27.97 kB / 0.8783 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002218/0.6659, allocations: 1.46 MB / 0.8797 GB, free: 8.215 MB / 0.5919 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.005527/0.6714, allocations: 3.862 MB / 0.8835 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002074/0.6735, allocations: 1.219 MB / 0.8847 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007262/0.6742, allocations: 448.4 kB / 0.8851 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007245/0.675, allocations: 427.2 kB / 0.8855 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/0.6761, allocations: 0.6605 MB / 0.8861 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=106): time 2.745e-06/0.6761, allocations: 0 / 0.8861 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of matching and sorting (n=106): time 0.003884/0.68, allocations: 1.608 MB / 0.8877 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.429e-05/0.6801, allocations: 192.9 kB / 0.8879 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.6812, allocations: 0.8828 MB / 0.8888 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.393e-05/0.6813, allocations: 49.7 kB / 0.8888 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004092/0.6817, allocations: 0.516 MB / 0.8893 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002744/0.682, allocations: 354.8 kB / 0.8896 GB, free: 340 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002897/0.6823, allocations: 198.5 kB / 0.8898 GB, free: 132 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.6824, allocations: 345.9 kB / 0.8902 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006833/0.6831, allocations: 357.8 kB / 0.8905 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008189/0.6839, allocations: 0.5049 MB / 0.891 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/0.6854, allocations: 0.8445 MB / 0.8918 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.6855, allocations: 4 kB / 0.8918 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002505/0.688, allocations: 1.11 MB / 0.8929 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.688, allocations: 4 kB / 0.8929 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.688, allocations: 4 kB / 0.8929 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006215/0.6886, allocations: 88.84 kB / 0.893 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/0.6896, allocations: 219.7 kB / 0.8932 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/0.6917, allocations: 1.644 MB / 0.8948 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.6927, allocations: 132.4 kB / 0.8949 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.315e-05/0.6928, allocations: 43.97 kB / 0.895 GB, free: 10.64 MB / 0.6075 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.0006068/0.6935, allocations: 330.3 kB / 0.8953 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002313/0.6937, allocations: 122.5 kB / 0.8954 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003015/0.6967, allocations: 1.502 MB / 0.8969 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/0.6967, allocations: 12 kB / 0.8969 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.6967, allocations: 4 kB / 0.8969 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.6968, allocations: 3.984 kB / 0.8969 GB, free: 8.641 MB / 0.6075 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.004588/0.7014, allocations: 2.838 MB / 0.8997 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.7014, allocations: 7.938 kB / 0.8997 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009233/0.7023, allocations: 199.7 kB / 0.8999 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00046/0.7028, allocations: 76.88 kB / 0.8999 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-05/0.7029, allocations: 35.97 kB / 0.9 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/0.7047, allocations: 1.678 MB / 0.9016 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.7047, allocations: 7.938 kB / 0.9016 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00347/0.7082, allocations: 1.868 MB / 0.9035 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005086/0.7087, allocations: 343.3 kB / 0.9038 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.7089, allocations: 24 kB / 0.9038 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009253/0.7098, allocations: 83.92 kB / 0.9039 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/0.71, allocations: 88.81 kB / 0.904 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.064e-05/0.7101, allocations: 51.97 kB / 0.904 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008024/0.7109, allocations: 0.6261 MB / 0.9046 GB, free: 416 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7109, allocations: 0 / 0.9046 GB, free: 416 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001171/0.7121, allocations: 447 kB / 0.9051 GB, free: 15.97 MB / 0.6231 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.005053/0.7172, allocations: 3.004 MB / 0.908 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003074/0.7203, allocations: 1.343 MB / 0.9093 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.7203, allocations: 0 / 0.9093 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.7214, allocations: 0.6646 MB / 0.9099 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002249/0.7237, allocations: 0.5302 MB / 0.9105 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01667/0.7404, allocations: 9.892 MB / 0.9201 GB, free: 320 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00071/0.7411, allocations: 1.162 MB / 0.9213 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001393/0.7425, allocations: 369.7 kB / 0.9216 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007431/0.7433, allocations: 0.5304 MB / 0.9221 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of SimCode: time 5.91e-07/0.7433, allocations: 0 / 0.9221 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05365/0.7969, allocations: 32.23 MB / 0.9536 GB, free: 14.48 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/0.7972, allocations: 275.3 kB / 0.9539 GB, free: 14.11 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.724/3.521, allocations: 0 / 0.9539 GB, free: 14.11 MB / 0.67 GB (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 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe 2>&1)