Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.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.Validation.Outside_CpData_Directions,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Outside_CpData_Directions",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.003948/0.003948, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.00104/0.00104, allocations: 201.8 kB / 16.68 MB, free: 5.969 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.221/1.221, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001992/0.001992, allocations: 282.5 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8789/0.8789, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 96.33 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.143, allocations: 86.97 MB / 0.7659 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.4471/0.5901, allocations: 167.2 MB / 0.9292 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0205/0.6106, allocations: 17.23 MB / 0.946 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.6119, allocations: 27.88 kB / 0.946 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.6132, allocations: 0.5508 MB / 0.9466 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003871/0.6171, allocations: 1.713 MB / 0.9483 GB, free: 8.348 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003008/0.6201, allocations: 1.436 MB / 0.9497 GB, free: 6.926 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.00254/0.6227, allocations: 2.679 MB / 0.9523 GB, free: 4.238 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002009/0.6247, allocations: 1.993 MB / 0.9542 GB, free: 2.199 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003109/0.6278, allocations: 1.463 MB / 0.9556 GB, free: 0.7969 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.6289, allocations: 1.089 MB / 0.9567 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002601/0.6291, allocations: 224 kB / 0.9569 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002581/0.6317, allocations: 1.552 MB / 0.9584 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000605/0.6323, allocations: 0.7985 MB / 0.9592 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001021/0.6334, allocations: 1.247 MB / 0.9604 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003843/0.6372, allocations: 3.685 MB / 0.964 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.758e-06/0.6372, allocations: 0 / 0.964 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6373, allocations: 0 / 0.964 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.358e-05/0.6373, allocations: 0 / 0.964 GB, free: 8.176 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: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.004363/0.6417, allocations: 2.982 MB / 0.967 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.6417, allocations: 8.031 kB / 0.967 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002638/0.642, allocations: 252.9 kB / 0.9672 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003468/0.6454, allocations: 0.576 MB / 0.9678 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003794/0.6493, allocations: 3.446 MB / 0.9711 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.62e-05/0.6494, allocations: 127.4 kB / 0.9712 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002176/0.6496, allocations: 176 kB / 0.9714 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003079/0.6527, allocations: 1.96 MB / 0.9733 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.155e-05/0.6527, allocations: 3.984 kB / 0.9733 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001523/0.6529, allocations: 72 kB / 0.9734 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.715e-05/0.6529, allocations: 48 kB / 0.9734 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003263/0.6562, allocations: 2.113 MB / 0.9755 GB, free: 12.24 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 preOpt removeSimpleEquations (simulation): time 0.00864/0.6648, allocations: 6.342 MB / 0.9817 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003166/0.668, allocations: 2.129 MB / 0.9838 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/0.6693, allocations: 0.7725 MB / 0.9845 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000568/0.6698, allocations: 433.6 kB / 0.985 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001716/0.6716, allocations: 1.013 MB / 0.9859 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.276e-06/0.6716, allocations: 0 / 0.9859 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.00655/0.6781, allocations: 3.005 MB / 0.9889 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.6783, allocations: 201.2 kB / 0.9891 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004207/0.6825, allocations: 4.073 MB / 0.993 GB, free: 9.707 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001237/0.6826, allocations: 57.7 kB / 0.9931 GB, free: 9.645 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007559/0.6834, allocations: 0.9153 MB / 0.994 GB, free: 8.719 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000427/0.6838, allocations: 0.4919 MB / 0.9945 GB, free: 8.223 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003672/0.6842, allocations: 242.8 kB / 0.9947 GB, free: 7.98 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001914/0.6844, allocations: 353.9 kB / 0.995 GB, free: 7.629 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/0.6855, allocations: 0.5881 MB / 0.9956 GB, free: 7.039 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/0.6867, allocations: 0.8047 MB / 0.9964 GB, free: 6.172 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002229/0.689, allocations: 1.329 MB / 0.9977 GB, free: 4.828 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.689, allocations: 0 / 0.9977 GB, free: 4.828 MB / 0.7481 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003641/0.6926, allocations: 1.823 MB / 0.9995 GB, free: 2.98 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.6927, allocations: 4 kB / 0.9995 GB, free: 2.977 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.6927, allocations: 0 / 0.9995 GB, free: 2.977 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/0.6937, allocations: 208.2 kB / 0.9997 GB, free: 2.758 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/0.6952, allocations: 335.5 kB / 1 GB, free: 2.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005701/0.7009, allocations: 7.329 MB / 1.007 GB, free: 10.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.7023, allocations: 161 kB / 1.007 GB, free: 10.24 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-05/0.7024, allocations: 52.03 kB / 1.007 GB, free: 10.19 MB / 0.7637 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 (145): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008067/0.7032, allocations: 0.4901 MB / 1.008 GB, free: 9.691 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003275/0.7035, allocations: 198.7 kB / 1.008 GB, free: 9.496 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004217/0.7078, allocations: 2.161 MB / 1.01 GB, free: 7.309 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.7078, allocations: 16 kB / 1.01 GB, free: 7.293 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.7078, allocations: 0 / 1.01 GB, free: 7.293 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/0.7078, allocations: 11.97 kB / 1.01 GB, free: 7.281 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006403/0.7142, allocations: 4.125 MB / 1.014 GB, free: 3.078 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/0.7142, allocations: 3.984 kB / 1.014 GB, free: 3.074 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/0.7157, allocations: 327.5 kB / 1.015 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008261/0.7165, allocations: 200.1 kB / 1.015 GB, free: 2.543 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-05/0.7166, allocations: 43.97 kB / 1.015 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005433/0.722, allocations: 7.363 MB / 1.022 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7221, allocations: 0 / 1.022 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003864/0.7259, allocations: 2.029 MB / 1.024 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008314/0.7268, allocations: 0.5225 MB / 1.024 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002308/0.727, allocations: 32 kB / 1.024 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/0.7282, allocations: 120.3 kB / 1.025 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/0.7284, allocations: 109.2 kB / 1.025 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/0.7286, allocations: 75.94 kB / 1.025 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002919/0.7315, allocations: 3.128 MB / 1.028 GB, free: 4.375 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7315, allocations: 0 / 1.028 GB, free: 4.375 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001537/0.7331, allocations: 0.6703 MB / 1.028 GB, free: 3.703 MB / 0.7794 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (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.005584/0.7387, allocations: 3.245 MB / 1.032 GB, free: 0.6094 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00328/0.742, allocations: 2.074 MB / 1.034 GB, free: 14.47 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.742, allocations: 8.484 kB / 1.034 GB, free: 14.46 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002003/0.744, allocations: 1.438 MB / 1.035 GB, free: 12.96 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002351/0.7463, allocations: 0.5255 MB / 1.036 GB, free: 12.46 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0282/0.7746, allocations: 21.2 MB / 1.056 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/0.7757, allocations: 1.533 MB / 1.058 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001609/0.7773, allocations: 0.5325 MB / 1.058 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001133/0.7784, allocations: 0.8975 MB / 1.059 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of SimCode: time 6.61e-07/0.7784, allocations: 0 / 1.059 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3622/1.141, allocations: 48.55 MB / 1.107 GB, free: 285.7 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/15.23, allocations: 5.125 kB / 1.107 GB, free: 285.7 MB / 0.8419 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions_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_Validation_Outside_CpData_Directions.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1)