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.001307/0.001307, 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.001315/0.001315, allocations: 197 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002426/0.002426, allocations: 290.5 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9753/0.9753, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002703/0.002703, allocations: 98.98 kB / 0.5953 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1497, allocations: 86.98 MB / 0.6803 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside): time 0.4511/0.6008, allocations: 176 MB / 0.8522 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01514/0.616, allocations: 10.84 MB / 0.8627 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001598/0.6176, allocations: 32.28 kB / 0.8628 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.6189, allocations: 404.3 kB / 0.8632 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003558/0.6225, allocations: 1.05 MB / 0.8642 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004493/0.627, allocations: 1.698 MB / 0.8658 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003179/0.6302, allocations: 2.285 MB / 0.8681 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002058/0.6323, allocations: 1.442 MB / 0.8695 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003947/0.6362, allocations: 1.253 MB / 0.8707 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001536/0.6378, allocations: 0.7973 MB / 0.8715 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000263/0.6381, allocations: 153.8 kB / 0.8716 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00327/0.6413, allocations: 1.382 MB / 0.873 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004497/0.6418, allocations: 456.3 kB / 0.8734 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008448/0.6427, allocations: 0.766 MB / 0.8742 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00364/0.6463, allocations: 2.508 MB / 0.8766 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.6463, allocations: 0 / 0.8766 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.422e-06/0.6463, allocations: 0 / 0.8766 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.813e-05/0.6464, allocations: 0 / 0.8766 GB, free: 9.742 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.003194/0.6496, allocations: 1.881 MB / 0.8785 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.6496, allocations: 9.531 kB / 0.8785 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002032/0.6498, allocations: 180.7 kB / 0.8786 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002053/0.6519, allocations: 353.7 kB / 0.879 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/0.6533, allocations: 0.9533 MB / 0.8799 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.657e-05/0.6534, allocations: 85.8 kB / 0.88 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.6535, allocations: 117.9 kB / 0.8801 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002059/0.6556, allocations: 1.297 MB / 0.8814 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.6556, allocations: 2.594 kB / 0.8814 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.6557, allocations: 46.19 kB / 0.8814 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.748e-05/0.6558, allocations: 31.84 kB / 0.8814 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002406/0.6582, allocations: 1.456 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.006382/0.6646, allocations: 3.87 MB / 0.8866 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002143/0.6668, allocations: 1.22 MB / 0.8878 GB, free: 1.906 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007508/0.6675, allocations: 454.5 kB / 0.8883 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007673/0.6683, allocations: 425.2 kB / 0.8887 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001117/0.6694, allocations: 0.6538 MB / 0.8893 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=106): time 2.454e-06/0.6694, allocations: 0 / 0.8893 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of matching and sorting (n=106): time 0.004277/0.6737, allocations: 1.611 MB / 0.8909 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/0.6739, allocations: 192.9 kB / 0.8911 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.6751, allocations: 0.8828 MB / 0.8919 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.902e-05/0.6752, allocations: 49.7 kB / 0.892 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004583/0.6757, allocations: 0.5082 MB / 0.8925 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003365/0.676, allocations: 354.8 kB / 0.8928 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003142/0.6763, allocations: 198.5 kB / 0.893 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.6765, allocations: 349.9 kB / 0.8933 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007397/0.6773, allocations: 365.7 kB / 0.8937 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008923/0.6782, allocations: 0.4971 MB / 0.8942 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001643/0.6798, allocations: 0.8524 MB / 0.895 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6798, allocations: 0 / 0.895 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00258/0.6824, allocations: 1.114 MB / 0.8961 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.6824, allocations: 4 kB / 0.8961 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.6825, allocations: 1.125 kB / 0.8961 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006087/0.6831, allocations: 88.86 kB / 0.8962 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009736/0.6841, allocations: 215.7 kB / 0.8964 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/0.6863, allocations: 1.651 MB / 0.898 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008742/0.6872, allocations: 116.5 kB / 0.8981 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-05/0.6873, 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.0005352/0.6878, allocations: 330.2 kB / 0.8985 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002405/0.688, allocations: 118.5 kB / 0.8986 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003226/0.6913, allocations: 1.505 MB / 0.9 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.6913, allocations: 12 kB / 0.9001 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.6913, allocations: 4 kB / 0.9001 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.6913, allocations: 7.969 kB / 0.9001 GB, free: 5.547 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.004953/0.6963, allocations: 2.846 MB / 0.9029 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.6963, allocations: 4 kB / 0.9029 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008927/0.6972, allocations: 191.8 kB / 0.903 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004536/0.6977, allocations: 80.91 kB / 0.9031 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.687e-05/0.6978, allocations: 35.92 kB / 0.9031 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00202/0.6998, allocations: 1.678 MB / 0.9048 GB, free: 468 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.6998, allocations: 4 kB / 0.9048 GB, free: 464 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003699/0.7035, allocations: 1.864 MB / 0.9066 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005852/0.7041, allocations: 343.3 kB / 0.9069 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/0.7043, allocations: 24 kB / 0.907 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008702/0.7052, allocations: 75.92 kB / 0.907 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/0.7054, allocations: 96.75 kB / 0.9071 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-05/0.7055, allocations: 43.97 kB / 0.9072 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008986/0.7064, allocations: 0.63 MB / 0.9078 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7064, allocations: 4 kB / 0.9078 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001162/0.7076, allocations: 443 kB / 0.9082 GB, free: 12.88 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.006004/0.7136, allocations: 3.016 MB / 0.9112 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003407/0.717, allocations: 1.335 MB / 0.9125 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/0.717, allocations: 4 kB / 0.9125 GB, free: 8.66 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.7183, allocations: 0.6645 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.002482/0.7208, allocations: 0.5313 MB / 0.9136 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01643/0.7372, allocations: 9.402 MB / 0.9228 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008456/0.7381, allocations: 1.162 MB / 0.9239 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001361/0.7395, allocations: 373.7 kB / 0.9243 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007694/0.7403, allocations: 0.5227 MB / 0.9248 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of SimCode: time 4.91e-07/0.7403, allocations: 4 kB / 0.9248 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07456/0.8148, allocations: 32.46 MB / 0.9565 GB, free: 11.63 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.68, allocations: 11.31 kB / 0.9565 GB, free: 11.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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe 2>&1)