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.00504/0.00504, allocations: 96.34 kB / 15.73 MB, free: 6.055 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.001196/0.001196, allocations: 202.7 kB / 16.68 MB, free: 5.977 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002382/0.002383, allocations: 283.1 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9512/0.9512, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003983/0.003984, allocations: 99.84 kB / 0.681 GB, free: 8 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1771, allocations: 86.96 MB / 0.7659 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside): time 0.4914/0.6685, allocations: 176 MB / 0.9378 GB, free: 3.098 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0147/0.6832, allocations: 10.86 MB / 0.9484 GB, free: 8.207 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008719/0.6841, allocations: 31.81 kB / 0.9484 GB, free: 8.176 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.6852, allocations: 400.8 kB / 0.9488 GB, free: 7.781 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002842/0.6881, allocations: 1.046 MB / 0.9498 GB, free: 6.734 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003943/0.692, allocations: 1.705 MB / 0.9515 GB, free: 5.039 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002765/0.6948, allocations: 2.295 MB / 0.9537 GB, free: 2.738 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001913/0.6967, allocations: 1.429 MB / 0.9551 GB, free: 1.273 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003149/0.6999, allocations: 1.257 MB / 0.9564 GB, free: 36 kB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.7011, allocations: 0.7935 MB / 0.9571 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.00022/0.7013, allocations: 152 kB / 0.9573 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00284/0.7041, allocations: 1.419 MB / 0.9587 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004446/0.7046, allocations: 446.7 kB / 0.9591 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008273/0.7054, allocations: 0.7696 MB / 0.9598 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00399/0.7094, allocations: 2.579 MB / 0.9624 GB, free: 9.871 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.7095, allocations: 0 / 0.9624 GB, free: 9.871 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7095, allocations: 0 / 0.9624 GB, free: 9.871 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.336e-05/0.7095, allocations: 0 / 0.9624 GB, free: 9.871 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.003403/0.7129, allocations: 1.932 MB / 0.9642 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.7129, allocations: 12.03 kB / 0.9643 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002189/0.7132, allocations: 177.4 kB / 0.9644 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002058/0.7152, allocations: 358.6 kB / 0.9648 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/0.7168, allocations: 0.9885 MB / 0.9657 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.25e-05/0.7169, allocations: 90.27 kB / 0.9658 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/0.7171, allocations: 120 kB / 0.9659 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/0.7194, allocations: 1.298 MB / 0.9672 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.7194, allocations: 8 kB / 0.9672 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/0.7195, allocations: 48 kB / 0.9673 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.577e-05/0.7196, allocations: 28 kB / 0.9673 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002458/0.722, allocations: 1.445 MB / 0.9687 GB, free: 3.191 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.005925/0.728, allocations: 3.843 MB / 0.9724 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002218/0.7302, allocations: 1.21 MB / 0.9736 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00079/0.731, allocations: 454.1 kB / 0.9741 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007446/0.7317, allocations: 429.3 kB / 0.9745 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001195/0.733, allocations: 0.6528 MB / 0.9751 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=106): time 2.795e-06/0.733, allocations: 0 / 0.9751 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=106): time 0.004005/0.737, allocations: 1.618 MB / 0.9767 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.7371, allocations: 192.9 kB / 0.9769 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.7383, allocations: 0.879 MB / 0.9777 GB, free: 9.578 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.148e-05/0.7384, allocations: 49.7 kB / 0.9778 GB, free: 9.523 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000464/0.7389, allocations: 0.5285 MB / 0.9783 GB, free: 8.988 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003199/0.7392, allocations: 364.9 kB / 0.9786 GB, free: 8.629 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003128/0.7395, allocations: 198.6 kB / 0.9788 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.7397, allocations: 345.9 kB / 0.9792 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007226/0.7404, allocations: 361.8 kB / 0.9795 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008841/0.7413, allocations: 0.5059 MB / 0.98 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/0.743, allocations: 0.8484 MB / 0.9808 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.743, allocations: 3.938 kB / 0.9808 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002474/0.7455, allocations: 1.118 MB / 0.9819 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.7455, allocations: 4 kB / 0.9819 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.7455, allocations: 4 kB / 0.9819 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005599/0.7461, allocations: 84.86 kB / 0.982 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009099/0.747, allocations: 219.7 kB / 0.9822 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/0.7491, allocations: 1.655 MB / 0.9838 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008572/0.75, allocations: 125.7 kB / 0.984 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.082e-05/0.7501, allocations: 43.97 kB / 0.984 GB, free: 2.918 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.0005986/0.7507, allocations: 318.2 kB / 0.9843 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002277/0.7509, allocations: 131.1 kB / 0.9844 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003103/0.754, allocations: 1.507 MB / 0.9859 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.7541, allocations: 12 kB / 0.9859 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.7541, allocations: 0 / 0.9859 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.7541, allocations: 11.97 kB / 0.9859 GB, free: 0.918 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.004825/0.7589, allocations: 2.851 MB / 0.9887 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.7589, allocations: 0 / 0.9887 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008631/0.7598, allocations: 199.7 kB / 0.9889 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004263/0.7602, allocations: 76.97 kB / 0.989 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.207e-05/0.7603, allocations: 27.98 kB / 0.989 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/0.7623, allocations: 1.674 MB / 0.9906 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.7624, allocations: 0 / 0.9906 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003719/0.7661, allocations: 1.874 MB / 0.9925 GB, free: 9.922 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005689/0.7667, allocations: 351.9 kB / 0.9928 GB, free: 9.559 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.7668, allocations: 28.17 kB / 0.9928 GB, free: 9.531 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008208/0.7677, allocations: 79.91 kB / 0.9929 GB, free: 9.453 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/0.7679, allocations: 88.81 kB / 0.993 GB, free: 9.367 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.462e-05/0.768, allocations: 51.91 kB / 0.993 GB, free: 9.316 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008874/0.7689, allocations: 0.63 MB / 0.9936 GB, free: 8.676 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7689, allocations: 0 / 0.9936 GB, free: 8.676 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001124/0.77, allocations: 450.9 kB / 0.9941 GB, free: 8.234 MB / 0.7481 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.005819/0.7758, allocations: 3.029 MB / 0.997 GB, free: 5.352 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002201/0.778, allocations: 1.066 MB / 0.9981 GB, free: 4.277 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.7781, allocations: 4 kB / 0.9981 GB, free: 4.273 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.7793, allocations: 0.6606 MB / 0.9987 GB, free: 3.598 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/0.7814, allocations: 0.5137 MB / 0.9992 GB, free: 3.113 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01521/0.7966, allocations: 8.931 MB / 1.008 GB, free: 9.988 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008599/0.7975, allocations: 1.158 MB / 1.009 GB, free: 8.801 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001199/0.7987, allocations: 369.7 kB / 1.009 GB, free: 8.438 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007812/0.7995, allocations: 0.5305 MB / 1.01 GB, free: 7.906 MB / 0.7637 GB Notification: Performance of SimCode: time 6.91e-07/0.7995, allocations: 0 / 1.01 GB, free: 7.906 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07392/0.8734, allocations: 32.75 MB / 1.042 GB, free: 7.59 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.89, allocations: 0 / 1.042 GB, free: 7.59 MB / 0.795 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)