Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.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_CpData_Specification,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Specification",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.001217/0.001218, 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.001187/0.001187, allocations: 196.1 kB / 16.54 MB, free: 6.672 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.383/1.383, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002436/0.002436, allocations: 295 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.038/1.038, allocations: 178.6 MB / 0.5073 GB, free: 4.555 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002655/0.002656, allocations: 98.16 kB / 0.6065 GB, free: 24.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1567, allocations: 89.15 MB / 0.6936 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.4315/0.5882, allocations: 154.5 MB / 0.8445 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01428/0.6026, allocations: 10.56 MB / 0.8548 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009704/0.6036, allocations: 17 kB / 0.8548 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.6047, allocations: 282.7 kB / 0.8551 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003047/0.6077, allocations: 0.9796 MB / 0.856 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002701/0.6104, allocations: 1.079 MB / 0.8571 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002124/0.6126, allocations: 1.71 MB / 0.8588 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001779/0.6144, allocations: 1.145 MB / 0.8599 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002098/0.6165, allocations: 0.7167 MB / 0.8606 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/0.6176, allocations: 0.617 MB / 0.8612 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003073/0.6179, allocations: 133.2 kB / 0.8613 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002046/0.6199, allocations: 1.001 MB / 0.8623 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004503/0.6204, allocations: 379.2 kB / 0.8626 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008794/0.6213, allocations: 0.6854 MB / 0.8633 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003506/0.6248, allocations: 2.188 MB / 0.8654 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/0.6248, allocations: 6.734 kB / 0.8655 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6248, allocations: 0 / 0.8655 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.987e-05/0.6249, allocations: 0 / 0.8655 GB, free: 8.559 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003993/0.6289, allocations: 1.733 MB / 0.8671 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.6289, allocations: 7.969 kB / 0.8672 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002597/0.6292, allocations: 159.1 kB / 0.8673 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/0.6309, allocations: 264.3 kB / 0.8676 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.6325, allocations: 1.068 MB / 0.8686 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.408e-05/0.6326, allocations: 70.34 kB / 0.8687 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.6327, allocations: 95.19 kB / 0.8688 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/0.6347, allocations: 1.106 MB / 0.8698 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.6347, allocations: 0 / 0.8698 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.6348, allocations: 42.12 kB / 0.8699 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.6349, allocations: 25.16 kB / 0.8699 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002201/0.6371, allocations: 1.317 MB / 0.8712 GB, free: 4.801 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.005553/0.6426, allocations: 3.505 MB / 0.8746 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00212/0.6448, allocations: 1.094 MB / 0.8757 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008284/0.6456, allocations: 428.8 kB / 0.8761 GB, free: 352 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002569/0.6459, allocations: 134 kB / 0.8762 GB, free: 200 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001214/0.6471, allocations: 0.6254 MB / 0.8768 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=95): time 3.036e-06/0.6471, allocations: 0 / 0.8768 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95): time 0.00442/0.6515, allocations: 1.631 MB / 0.8784 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.6517, allocations: 192.9 kB / 0.8786 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/0.6532, allocations: 1.021 MB / 0.8796 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.6533, allocations: 45.7 kB / 0.8796 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000458/0.6538, allocations: 476.4 kB / 0.8801 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002946/0.6541, allocations: 307.6 kB / 0.8804 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003054/0.6544, allocations: 170.5 kB / 0.8806 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.6545, allocations: 337.9 kB / 0.8809 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007483/0.6553, allocations: 333.8 kB / 0.8812 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009127/0.6562, allocations: 473.1 kB / 0.8816 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/0.6578, allocations: 0.7648 MB / 0.8824 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.6578, allocations: 0 / 0.8824 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002758/0.6606, allocations: 1.041 MB / 0.8834 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.6606, allocations: 8 kB / 0.8834 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.6606, allocations: 0 / 0.8834 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007513/0.6614, allocations: 117.6 kB / 0.8835 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008898/0.6623, allocations: 191.7 kB / 0.8837 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003484/0.6658, allocations: 3.073 MB / 0.8867 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.6668, allocations: 111.2 kB / 0.8868 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.446e-05/0.6669, allocations: 31.98 kB / 0.8869 GB, free: 4.805 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (100): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006101/0.6675, allocations: 310.1 kB / 0.8871 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003389/0.6679, allocations: 107.6 kB / 0.8872 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003269/0.6712, allocations: 1.322 MB / 0.8885 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.6712, allocations: 12 kB / 0.8886 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.6712, allocations: 0 / 0.8886 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.6712, allocations: 3.984 kB / 0.8886 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005078/0.6763, allocations: 2.446 MB / 0.8909 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.6763, allocations: 0 / 0.8909 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008486/0.6772, allocations: 195.7 kB / 0.8911 GB, free: 336 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005878/0.6778, allocations: 105.6 kB / 0.8912 GB, free: 224 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-05/0.6779, allocations: 27.92 kB / 0.8913 GB, free: 196 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003406/0.6813, allocations: 3.104 MB / 0.8943 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.6813, allocations: 0 / 0.8943 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002927/0.6843, allocations: 1.239 MB / 0.8955 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006323/0.6849, allocations: 323.4 kB / 0.8958 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002372/0.6852, allocations: 20 kB / 0.8958 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009235/0.6861, allocations: 79.86 kB / 0.8959 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/0.6863, allocations: 88.81 kB / 0.896 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/0.6864, allocations: 43.97 kB / 0.896 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001113/0.6876, allocations: 0.7489 MB / 0.8968 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2e-07/0.6876, allocations: 0 / 0.8968 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001368/0.6889, allocations: 455 kB / 0.8972 GB, free: 9.785 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005377/0.6943, allocations: 2.384 MB / 0.8995 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003405/0.6977, allocations: 1.357 MB / 0.9008 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.6978, allocations: 4 kB / 0.9009 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001392/0.6992, allocations: 0.7488 MB / 0.9016 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/0.7009, allocations: 367.3 kB / 0.9019 GB, free: 5.066 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01463/0.7156, allocations: 8.674 MB / 0.9104 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008276/0.7164, allocations: 1.103 MB / 0.9115 GB, free: 11 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001132/0.7176, allocations: 315.8 kB / 0.9118 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006961/0.7183, allocations: 471.2 kB / 0.9122 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of SimCode: time 1.002e-06/0.7183, allocations: 0 / 0.9122 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06911/0.7874, allocations: 28.04 MB / 0.9396 GB, free: 14.64 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.79, allocations: 0 / 0.9396 GB, free: 14.64 MB / 0.67 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)