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.001111/0.001111, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.26/1.26, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00219/0.00219, allocations: 283 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9148/0.9148, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001695, allocations: 95.36 kB / 0.5953 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1388, allocations: 86.98 MB / 0.6803 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside): time 0.4341/0.5729, allocations: 176 MB / 0.8522 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01384/0.5868, allocations: 10.84 MB / 0.8628 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.5879, allocations: 31.88 kB / 0.8628 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.589, allocations: 402.9 kB / 0.8632 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002652/0.5916, allocations: 1.046 MB / 0.8642 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003676/0.5953, allocations: 1.697 MB / 0.8659 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002172/0.5975, allocations: 2.284 MB / 0.8681 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001698/0.5992, allocations: 1.442 MB / 0.8695 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002579/0.6018, allocations: 1.253 MB / 0.8707 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007981/0.6026, allocations: 0.7985 MB / 0.8715 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001835/0.6028, allocations: 155.7 kB / 0.8716 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/0.6051, allocations: 1.384 MB / 0.873 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003388/0.6055, allocations: 448.3 kB / 0.8734 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006134/0.6061, allocations: 0.7733 MB / 0.8742 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0028/0.6089, allocations: 2.51 MB / 0.8766 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.6089, allocations: 0 / 0.8766 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6089, allocations: 0 / 0.8766 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.942e-05/0.609, allocations: 0 / 0.8766 GB, free: 9.73 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.002902/0.6119, allocations: 1.879 MB / 0.8785 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.6119, allocations: 10.12 kB / 0.8785 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001963/0.6121, allocations: 181.4 kB / 0.8786 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002005/0.6141, allocations: 357.8 kB / 0.879 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.6154, allocations: 0.9487 MB / 0.8799 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.145e-05/0.6155, allocations: 86.14 kB / 0.88 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.6157, allocations: 111.4 kB / 0.8801 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/0.6176, allocations: 1.299 MB / 0.8814 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.6177, allocations: 0 / 0.8814 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/0.6178, allocations: 48.12 kB / 0.8814 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.6178, allocations: 32.16 kB / 0.8814 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002138/0.6199, allocations: 1.452 MB / 0.8829 GB, free: 5.598 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.005349/0.6253, allocations: 3.872 MB / 0.8866 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/0.6273, allocations: 1.21 MB / 0.8878 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007164/0.6281, allocations: 459 kB / 0.8883 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006815/0.6288, allocations: 429 kB / 0.8887 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001009/0.6298, allocations: 0.6573 MB / 0.8893 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=106): time 2.585e-06/0.6298, allocations: 0 / 0.8893 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of matching and sorting (n=106): time 0.003869/0.6337, allocations: 1.615 MB / 0.8909 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.6338, allocations: 196.9 kB / 0.8911 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.6349, allocations: 0.875 MB / 0.8919 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.03e-05/0.635, allocations: 49.7 kB / 0.892 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003803/0.6354, allocations: 0.5121 MB / 0.8925 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000257/0.6356, allocations: 362.8 kB / 0.8928 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002846/0.6359, allocations: 194.5 kB / 0.893 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.6361, allocations: 345.9 kB / 0.8933 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006878/0.6368, allocations: 361.8 kB / 0.8937 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008313/0.6376, allocations: 0.5087 MB / 0.8942 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.6391, allocations: 0.8446 MB / 0.895 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.6391, allocations: 0 / 0.895 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002407/0.6415, allocations: 1.11 MB / 0.8961 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.6416, allocations: 7.984 kB / 0.8961 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.6416, allocations: 4 kB / 0.8961 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005689/0.6422, allocations: 84.81 kB / 0.8962 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009254/0.6431, allocations: 227.7 kB / 0.8964 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002085/0.6452, allocations: 1.641 MB / 0.898 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008894/0.6461, allocations: 124.3 kB / 0.8981 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.46e-05/0.6462, allocations: 43.97 kB / 0.8982 GB, free: 7.547 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.0005297/0.6467, allocations: 322.2 kB / 0.8985 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002482/0.647, allocations: 126.5 kB / 0.8986 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003036/0.65, allocations: 1.5 MB / 0.9001 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.6501, allocations: 16.05 kB / 0.9001 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.6501, allocations: 7.984 kB / 0.9001 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.6501, allocations: 3.984 kB / 0.9001 GB, free: 5.551 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.004734/0.6548, allocations: 2.838 MB / 0.9029 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.6548, allocations: 3.938 kB / 0.9029 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000884/0.6557, allocations: 195.7 kB / 0.903 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004449/0.6562, allocations: 80.97 kB / 0.9031 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.117e-05/0.6563, allocations: 31.97 kB / 0.9032 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/0.6581, allocations: 1.682 MB / 0.9048 GB, free: 476 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6581, allocations: 0 / 0.9048 GB, free: 476 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003404/0.6615, allocations: 1.86 MB / 0.9066 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005144/0.662, allocations: 347.3 kB / 0.9069 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001915/0.6622, allocations: 31.94 kB / 0.907 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008631/0.6631, allocations: 75.92 kB / 0.907 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.6633, allocations: 92.75 kB / 0.9071 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-05/0.6634, allocations: 47.97 kB / 0.9072 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008255/0.6642, allocations: 0.6261 MB / 0.9078 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6642, allocations: 0 / 0.9078 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001084/0.6653, allocations: 447 kB / 0.9082 GB, free: 12.89 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.004984/0.6703, allocations: 3.013 MB / 0.9112 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002934/0.6733, allocations: 1.339 MB / 0.9125 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.6733, allocations: 0 / 0.9125 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001142/0.6744, allocations: 0.6723 MB / 0.9131 GB, free: 7.98 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002122/0.6766, allocations: 0.5208 MB / 0.9136 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0153/0.6919, allocations: 9.414 MB / 0.9228 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00083/0.6927, allocations: 1.158 MB / 0.924 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001354/0.6941, allocations: 365.7 kB / 0.9243 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007518/0.6949, allocations: 0.5266 MB / 0.9248 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of SimCode: time 1.021e-06/0.6949, allocations: 0 / 0.9248 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06253/0.7574, allocations: 32.46 MB / 0.9565 GB, free: 11.64 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.88, allocations: 2.188 kB / 0.9565 GB, free: 11.64 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)