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.005163/0.005168, allocations: 101.2 kB / 15.73 MB, free: 6.004 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.00121/0.00121, allocations: 193.4 kB / 16.67 MB, free: 5.922 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.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002024/0.002024, allocations: 290.8 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8861/0.8861, allocations: 169.2 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 91.84 kB / 0.681 GB, free: 7.488 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3729, allocations: 86.98 MB / 0.7659 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside): time 0.1633/0.5362, allocations: 176 MB / 0.9378 GB, free: 3.164 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01368/0.55, allocations: 10.86 MB / 0.9484 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/0.5511, allocations: 31.81 kB / 0.9484 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.5521, allocations: 404.9 kB / 0.9488 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002801/0.555, allocations: 1.085 MB / 0.9499 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003739/0.5587, allocations: 1.712 MB / 0.9515 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002719/0.5615, allocations: 2.307 MB / 0.9538 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002078/0.5636, allocations: 1.435 MB / 0.9552 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3942/0.9578, allocations: 1.279 MB / 0.9564 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001523/0.9594, allocations: 0.789 MB / 0.9572 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004548/0.9598, allocations: 155 kB / 0.9574 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003351/0.9632, allocations: 1.42 MB / 0.9587 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004987/0.9637, allocations: 453.3 kB / 0.9592 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008683/0.9646, allocations: 0.7666 MB / 0.9599 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004035/0.9686, allocations: 2.572 MB / 0.9624 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.9686, allocations: 0.6562 kB / 0.9624 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.372e-06/0.9687, allocations: 0.5625 kB / 0.9624 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.453e-05/0.9687, allocations: 3.469 kB / 0.9624 GB, free: 4.484 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.003279/0.972, allocations: 1.933 MB / 0.9643 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.972, allocations: 12.59 kB / 0.9643 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001712/0.9722, allocations: 176.3 kB / 0.9645 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002081/0.9743, allocations: 355.2 kB / 0.9649 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.9757, allocations: 1.003 MB / 0.9658 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.413e-05/0.9758, allocations: 85.08 kB / 0.9659 GB, free: 3 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.976, allocations: 116.8 kB / 0.966 GB, free: 3 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/0.978, allocations: 1.297 MB / 0.9673 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.9781, allocations: 5.672 kB / 0.9673 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.9782, allocations: 53.97 kB / 0.9673 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.9782, allocations: 28.88 kB / 0.9674 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00203/0.9802, allocations: 1.45 MB / 0.9688 GB, free: 2.809 MB / 0.7169 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.005069/0.9853, allocations: 3.828 MB / 0.9725 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.9872, allocations: 1.209 MB / 0.9737 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006566/0.9879, allocations: 450.5 kB / 0.9741 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007189/0.9886, allocations: 428.3 kB / 0.9745 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009905/0.9896, allocations: 0.6629 MB / 0.9752 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=106): time 2.485e-06/0.9896, allocations: 0.9375 kB / 0.9752 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of matching and sorting (n=106): time 0.003669/0.9933, allocations: 1.605 MB / 0.9768 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.9934, allocations: 203 kB / 0.977 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.9945, allocations: 0.8789 MB / 0.9778 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.661e-05/0.9946, allocations: 46.98 kB / 0.9779 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003389/0.9949, allocations: 0.525 MB / 0.9784 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00022/0.9951, allocations: 373.2 kB / 0.9787 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002566/0.9954, allocations: 193.9 kB / 0.9789 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.9955, allocations: 343.4 kB / 0.9792 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006028/0.9961, allocations: 356.7 kB / 0.9796 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007074/0.9968, allocations: 0.5059 MB / 0.9801 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/0.9982, allocations: 0.8448 MB / 0.9809 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.9982, allocations: 0.9062 kB / 0.9809 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002137/1, allocations: 1.118 MB / 0.982 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/1, allocations: 9.453 kB / 0.982 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/1, allocations: 7.25 kB / 0.982 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005422/1.001, allocations: 85.52 kB / 0.9821 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009102/1.002, allocations: 229.5 kB / 0.9823 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/1.004, allocations: 1.634 MB / 0.9839 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009202/1.005, allocations: 139 kB / 0.984 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.886e-05/1.005, allocations: 42.38 kB / 0.9841 GB, free: 13.86 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.0005199/1.005, allocations: 322.5 kB / 0.9844 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/1.005, allocations: 122.5 kB / 0.9845 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002603/1.008, allocations: 1.504 MB / 0.986 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/1.008, allocations: 13.97 kB / 0.986 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.008, allocations: 1.875 kB / 0.986 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/1.008, allocations: 2.953 kB / 0.986 GB, free: 13.54 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.00434/1.012, allocations: 2.846 MB / 0.9888 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/1.013, allocations: 2.625 kB / 0.9888 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008398/1.013, allocations: 200.6 kB / 0.989 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004207/1.014, allocations: 75.23 kB / 0.989 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.628e-05/1.014, allocations: 36.95 kB / 0.9891 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/1.016, allocations: 1.676 MB / 0.9907 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.016, allocations: 6.844 kB / 0.9907 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003199/1.019, allocations: 1.87 MB / 0.9925 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006677/1.02, allocations: 347.6 kB / 0.9929 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002573/1.02, allocations: 33.31 kB / 0.9929 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009797/1.021, allocations: 73.84 kB / 0.993 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002083/1.021, allocations: 91.89 kB / 0.9931 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/1.021, allocations: 45.98 kB / 0.9931 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001385/1.023, allocations: 0.6294 MB / 0.9937 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.21e-07/1.023, allocations: 1.031 kB / 0.9937 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001973/1.025, allocations: 445.5 kB / 0.9941 GB, free: 10.91 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.0056/1.03, allocations: 3.023 MB / 0.9971 GB, free: 9.973 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002063/1.032, allocations: 1.074 MB / 0.9981 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/1.032, allocations: 1.156 kB / 0.9981 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001078/1.033, allocations: 0.6575 MB / 0.9988 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002355/1.036, allocations: 0.525 MB / 0.9993 GB, free: 9.664 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01612/1.052, allocations: 8.916 MB / 1.008 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008098/1.053, allocations: 1.167 MB / 1.009 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001374/1.054, allocations: 374.7 kB / 1.01 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007411/1.055, allocations: 0.5239 MB / 1.01 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of SimCode: time 8.71e-07/1.055, allocations: 0 / 1.01 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06627/1.121, allocations: 32.77 MB / 1.042 GB, free: 2.969 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.81, allocations: 6.469 kB / 1.042 GB, free: 2.969 MB / 0.7481 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)