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.001329/0.001329, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001293/0.001293, allocations: 190.7 kB / 16.14 MB, free: 6.707 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.248/1.248, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00196/0.00196, allocations: 278.2 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8558/0.8558, allocations: 169.2 MB / 0.4977 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 96.59 kB / 0.5946 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1303, allocations: 86.98 MB / 0.6795 GB, free: 1.055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside): time 0.3944/0.5247, allocations: 173.7 MB / 0.8492 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.013/0.5378, allocations: 10.86 MB / 0.8598 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001158/0.539, allocations: 31 kB / 0.8598 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009578/0.5399, allocations: 315.6 kB / 0.8601 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002337/0.5423, allocations: 0.9458 MB / 0.8611 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003241/0.5455, allocations: 1.529 MB / 0.8626 GB, free: 3 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002006/0.5476, allocations: 2.589 MB / 0.8651 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/0.5489, allocations: 1.301 MB / 0.8664 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002768/0.5517, allocations: 1.114 MB / 0.8674 GB, free: 84 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006966/0.5524, allocations: 0.7818 MB / 0.8682 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001453/0.5525, allocations: 78.72 kB / 0.8683 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002204/0.5547, allocations: 1.45 MB / 0.8697 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002879/0.555, allocations: 382.2 kB / 0.8701 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005273/0.5556, allocations: 0.6996 MB / 0.8707 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002202/0.5578, allocations: 2.498 MB / 0.8732 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.5578, allocations: 0 / 0.8732 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of FrontEnd: time 8.72e-07/0.5578, allocations: 0 / 0.8732 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.318e-05/0.5578, allocations: 0 / 0.8732 GB, free: 12.33 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.002838/0.5607, allocations: 1.885 MB / 0.875 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.5607, allocations: 13.53 kB / 0.875 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000178/0.5609, allocations: 174.3 kB / 0.8752 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001956/0.5628, allocations: 354 kB / 0.8755 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.5641, allocations: 0.9528 MB / 0.8765 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.552e-05/0.5641, allocations: 86.27 kB / 0.8766 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.5643, allocations: 112.8 kB / 0.8767 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/0.5662, allocations: 1.296 MB / 0.8779 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.5662, allocations: 0 / 0.8779 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.5663, allocations: 56.98 kB / 0.878 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.5664, allocations: 31.47 kB / 0.878 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002081/0.5684, allocations: 1.445 MB / 0.8794 GB, free: 8.195 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.00516/0.5736, allocations: 3.869 MB / 0.8832 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001968/0.5756, allocations: 1.223 MB / 0.8844 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006936/0.5763, allocations: 452.4 kB / 0.8848 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006711/0.577, allocations: 424.6 kB / 0.8852 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/0.578, allocations: 0.6577 MB / 0.8859 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=106): time 2.274e-06/0.578, allocations: 2.844 kB / 0.8859 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of matching and sorting (n=106): time 0.003659/0.5817, allocations: 1.602 MB / 0.8874 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.22e-05/0.5818, allocations: 196.9 kB / 0.8876 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009887/0.5828, allocations: 0.8828 MB / 0.8885 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.638e-05/0.5829, allocations: 45.7 kB / 0.8885 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003496/0.5832, allocations: 0.516 MB / 0.889 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/0.5835, allocations: 362.8 kB / 0.8894 GB, free: 460 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000277/0.5838, allocations: 190.5 kB / 0.8896 GB, free: 260 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.5839, allocations: 349.9 kB / 0.8899 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006704/0.5846, allocations: 361.8 kB / 0.8902 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008019/0.5854, allocations: 0.4971 MB / 0.8907 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/0.5868, allocations: 0.8524 MB / 0.8916 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.5868, allocations: 0 / 0.8916 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002297/0.5891, allocations: 1.11 MB / 0.8926 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.5892, allocations: 4 kB / 0.8926 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.5892, allocations: 0 / 0.8926 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005643/0.5897, allocations: 92.8 kB / 0.8927 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008982/0.5906, allocations: 223.7 kB / 0.8929 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/0.5924, allocations: 1.538 MB / 0.8945 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008504/0.5933, allocations: 131 kB / 0.8946 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.93e-05/0.5934, allocations: 39.98 kB / 0.8946 GB, free: 10.87 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.0004651/0.5938, allocations: 326.1 kB / 0.8949 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000194/0.594, allocations: 118.5 kB / 0.895 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002789/0.5968, allocations: 1.509 MB / 0.8965 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.5969, allocations: 12 kB / 0.8965 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.5969, allocations: 0 / 0.8965 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.5969, allocations: 3.984 kB / 0.8965 GB, free: 8.879 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.004104/0.601, allocations: 2.838 MB / 0.8993 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.601, allocations: 0 / 0.8993 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008408/0.6018, allocations: 203.7 kB / 0.8995 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004711/0.6023, allocations: 84.95 kB / 0.8996 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.08e-05/0.6024, allocations: 35.97 kB / 0.8996 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/0.604, allocations: 1.563 MB / 0.9011 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.604, allocations: 4 kB / 0.9011 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003121/0.6071, allocations: 1.868 MB / 0.903 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000402/0.6075, allocations: 343.3 kB / 0.9033 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/0.6077, allocations: 27.94 kB / 0.9033 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008558/0.6085, allocations: 89.03 kB / 0.9034 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.6087, allocations: 88.81 kB / 0.9035 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.745e-05/0.6088, allocations: 51.97 kB / 0.9035 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007115/0.6095, allocations: 0.6222 MB / 0.9041 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6095, allocations: 0 / 0.9041 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009534/0.6105, allocations: 451 kB / 0.9046 GB, free: 328 kB / 0.6075 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.004661/0.6152, allocations: 3.01 MB / 0.9075 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001839/0.617, allocations: 1.054 MB / 0.9085 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.617, allocations: 7.938 kB / 0.9085 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.6181, allocations: 0.6686 MB / 0.9092 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001831/0.62, allocations: 488.3 kB / 0.9097 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01493/0.6349, allocations: 9.903 MB / 0.9193 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006315/0.6355, allocations: 1.162 MB / 0.9205 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001158/0.6367, allocations: 361.8 kB / 0.9208 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006916/0.6374, allocations: 0.5304 MB / 0.9213 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of SimCode: time 3e-07/0.6374, allocations: 0 / 0.9213 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.711/3.349, allocations: 31.36 MB / 0.952 GB, free: 16 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003341/3.349, allocations: 274.4 kB / 0.9522 GB, free: 15.62 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.059/6.408, allocations: 0 / 0.9522 GB, free: 15.62 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)