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.001665/0.001665, allocations: 108 kB / 15.6 MB, free: 132 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.00179/0.00179, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002023/0.002023, allocations: 287 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9571/0.9571, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 104.1 kB / 0.5953 GB, free: 27.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1643, allocations: 86.97 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside): time 0.4795/0.6438, allocations: 176 MB / 0.8522 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01341/0.6573, allocations: 10.85 MB / 0.8628 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/0.6587, allocations: 32.09 kB / 0.8628 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.6599, allocations: 400.7 kB / 0.8632 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002848/0.6627, allocations: 1.047 MB / 0.8642 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003683/0.6664, allocations: 1.703 MB / 0.8659 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002592/0.669, allocations: 2.28 MB / 0.8681 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001749/0.6708, allocations: 1.438 MB / 0.8695 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002859/0.6736, allocations: 1.26 MB / 0.8707 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009653/0.6746, allocations: 0.7877 MB / 0.8715 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002047/0.6748, allocations: 161.5 kB / 0.8716 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002612/0.6775, allocations: 1.387 MB / 0.873 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000368/0.6778, allocations: 451.8 kB / 0.8734 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007115/0.6786, allocations: 0.7599 MB / 0.8742 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00306/0.6816, allocations: 2.514 MB / 0.8766 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.6816, allocations: 0 / 0.8766 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6817, allocations: 0 / 0.8766 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.636e-05/0.6817, allocations: 0 / 0.8766 GB, free: 9.691 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.002958/0.6846, allocations: 1.879 MB / 0.8785 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.6847, allocations: 7.656 kB / 0.8785 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001849/0.6849, allocations: 179.9 kB / 0.8786 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002059/0.6869, allocations: 350.6 kB / 0.879 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.6883, allocations: 0.9545 MB / 0.8799 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.148e-05/0.6884, allocations: 89.83 kB / 0.88 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.6885, allocations: 111.4 kB / 0.8801 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.6904, allocations: 1.299 MB / 0.8814 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/0.6905, allocations: 3.984 kB / 0.8814 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/0.6906, allocations: 53.03 kB / 0.8814 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.6906, allocations: 27.91 kB / 0.8814 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002167/0.6928, allocations: 1.449 MB / 0.8829 GB, free: 5.559 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.005485/0.6983, allocations: 3.87 MB / 0.8866 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/0.7004, allocations: 1.217 MB / 0.8878 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000716/0.7011, allocations: 459.2 kB / 0.8883 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000707/0.7018, allocations: 424.8 kB / 0.8887 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001051/0.7029, allocations: 0.6578 MB / 0.8893 GB, free: 0.8008 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=106): time 2.836e-06/0.7029, allocations: 0 / 0.8893 GB, free: 0.8008 MB / 0.5919 GB Notification: Performance of matching and sorting (n=106): time 0.00392/0.7068, allocations: 1.606 MB / 0.8909 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.459e-05/0.7069, allocations: 196.9 kB / 0.8911 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.708, allocations: 0.8789 MB / 0.8919 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.983e-05/0.7081, allocations: 49.7 kB / 0.892 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000388/0.7085, allocations: 0.5199 MB / 0.8925 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002674/0.7088, allocations: 354.8 kB / 0.8928 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002933/0.7091, allocations: 190.5 kB / 0.893 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.7092, allocations: 345.9 kB / 0.8933 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007289/0.7099, allocations: 361.8 kB / 0.8937 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008273/0.7108, allocations: 0.501 MB / 0.8942 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.7123, allocations: 0.8562 MB / 0.895 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.7123, allocations: 0 / 0.895 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002446/0.7147, allocations: 1.11 MB / 0.8961 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.7148, allocations: 5.25 kB / 0.8961 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.7148, allocations: 4.078 kB / 0.8961 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005895/0.7154, allocations: 80.88 kB / 0.8962 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009294/0.7163, allocations: 223.7 kB / 0.8964 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001998/0.7183, allocations: 1.66 MB / 0.898 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009488/0.7193, allocations: 118.9 kB / 0.8981 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.705e-05/0.7194, allocations: 39.97 kB / 0.8982 GB, free: 7.488 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.0006077/0.72, allocations: 326.1 kB / 0.8985 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002823/0.7203, allocations: 126.5 kB / 0.8986 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00305/0.7234, allocations: 1.503 MB / 0.9001 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.7234, allocations: 15.98 kB / 0.9001 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.7234, allocations: 0 / 0.9001 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.7234, allocations: 11.97 kB / 0.9001 GB, free: 5.484 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.004655/0.7281, allocations: 2.834 MB / 0.9029 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.7281, allocations: 8.016 kB / 0.9029 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008735/0.729, allocations: 199.7 kB / 0.9031 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004471/0.7294, allocations: 72.8 kB / 0.9031 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.594e-05/0.7295, allocations: 35.97 kB / 0.9032 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/0.7314, allocations: 1.678 MB / 0.9048 GB, free: 412 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.7314, allocations: 3.938 kB / 0.9048 GB, free: 408 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00338/0.7348, allocations: 1.86 MB / 0.9066 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005177/0.7353, allocations: 343.3 kB / 0.9069 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002079/0.7355, allocations: 28 kB / 0.907 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000904/0.7365, allocations: 81.75 kB / 0.907 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.7366, allocations: 89.05 kB / 0.9071 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.265e-05/0.7367, allocations: 51.97 kB / 0.9072 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008118/0.7376, allocations: 0.6261 MB / 0.9078 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7376, allocations: 0 / 0.9078 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001103/0.7387, allocations: 443 kB / 0.9082 GB, free: 12.83 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.005059/0.7437, allocations: 3.025 MB / 0.9112 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002993/0.7467, allocations: 1.331 MB / 0.9125 GB, free: 8.609 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.7468, allocations: 4 kB / 0.9125 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.7479, allocations: 0.6606 MB / 0.9131 GB, free: 7.93 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/0.7501, allocations: 0.516 MB / 0.9136 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/0.766, allocations: 9.417 MB / 0.9228 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008682/0.7669, allocations: 1.162 MB / 0.924 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001432/0.7683, allocations: 365.7 kB / 0.9243 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000744/0.7691, allocations: 0.5305 MB / 0.9248 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of SimCode: time 5.31e-07/0.7691, allocations: 0 / 0.9248 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.121/0.8901, allocations: 32.45 MB / 0.9565 GB, free: 11.58 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/12.26, allocations: 2.344 kB / 0.9565 GB, free: 11.58 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)