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.0009835/0.0009835, 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.001136/0.001136, allocations: 194.7 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.281/1.281, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001953/0.001953, allocations: 274.7 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9006/0.9006, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 97.08 kB / 0.5953 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1378, allocations: 86.98 MB / 0.6803 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.4189/0.5567, allocations: 167.2 MB / 0.8436 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0182/0.575, allocations: 17.22 MB / 0.8604 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001518/0.5765, allocations: 33.38 kB / 0.8604 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001356/0.5779, allocations: 0.5259 MB / 0.8609 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004054/0.582, allocations: 1.693 MB / 0.8626 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002988/0.585, allocations: 1.423 MB / 0.864 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0024/0.5874, allocations: 2.655 MB / 0.8666 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002367/0.5898, allocations: 2.004 MB / 0.8685 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003488/0.5933, allocations: 1.382 MB / 0.8699 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001462/0.5947, allocations: 1.091 MB / 0.8709 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004914/0.5952, allocations: 223.5 kB / 0.8711 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002686/0.5979, allocations: 1.523 MB / 0.8726 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008922/0.5988, allocations: 0.8039 MB / 0.8734 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001833/0.6007, allocations: 1.239 MB / 0.8746 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004633/0.6053, allocations: 3.601 MB / 0.8781 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.6053, allocations: 4 kB / 0.8782 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.173e-06/0.6053, allocations: 0 / 0.8782 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001206/0.6055, allocations: 0 / 0.8782 GB, free: 9.047 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: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.005893/0.6114, allocations: 2.898 MB / 0.881 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.6114, allocations: 7.562 kB / 0.881 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004768/0.6119, allocations: 245 kB / 0.8812 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003761/0.6157, allocations: 0.5708 MB / 0.8818 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003289/0.619, allocations: 3.395 MB / 0.8851 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.757e-05/0.6191, allocations: 137.6 kB / 0.8852 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001834/0.6193, allocations: 165.5 kB / 0.8854 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002931/0.6222, allocations: 1.964 MB / 0.8873 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/0.6222, allocations: 0 / 0.8873 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001547/0.6224, allocations: 76 kB / 0.8874 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.822e-05/0.6224, allocations: 40 kB / 0.8874 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003352/0.6258, allocations: 2.117 MB / 0.8895 GB, free: 0.9766 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.008145/0.6339, allocations: 6.391 MB / 0.8957 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003137/0.6371, allocations: 2.136 MB / 0.8978 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/0.6383, allocations: 0.7647 MB / 0.8986 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005339/0.6389, allocations: 429.6 kB / 0.899 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001592/0.6405, allocations: 1.021 MB / 0.9 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=146): time 2.534e-06/0.6405, allocations: 0 / 0.9 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=146): time 0.006426/0.6469, allocations: 2.996 MB / 0.9029 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.655e-05/0.647, allocations: 193.2 kB / 0.9031 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004055/0.6511, allocations: 4.077 MB / 0.9071 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.6512, allocations: 57.7 kB / 0.9071 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006474/0.6519, allocations: 0.8945 MB / 0.908 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003366/0.6522, allocations: 484.9 kB / 0.9084 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003546/0.6526, allocations: 242.8 kB / 0.9087 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.6527, allocations: 357.9 kB / 0.909 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/0.6538, allocations: 0.5765 MB / 0.9096 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/0.6551, allocations: 0.8125 MB / 0.9104 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002412/0.6575, allocations: 1.333 MB / 0.9117 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.6575, allocations: 4 kB / 0.9117 GB, free: 9.543 MB / 0.6231 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003802/0.6613, allocations: 1.799 MB / 0.9134 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.6614, allocations: 4 kB / 0.9134 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.6614, allocations: 4 kB / 0.9134 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.6624, allocations: 212.2 kB / 0.9136 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/0.664, allocations: 335.5 kB / 0.914 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005802/0.6698, allocations: 7.32 MB / 0.9211 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/0.6716, allocations: 166.8 kB / 0.9213 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002258/0.6718, allocations: 56.02 kB / 0.9213 GB, free: 14.92 MB / 0.6387 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.001076/0.6729, allocations: 490 kB / 0.9218 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006385/0.6735, allocations: 189.7 kB / 0.922 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00467/0.6782, allocations: 2.157 MB / 0.9241 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.6783, allocations: 20 kB / 0.9241 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.6783, allocations: 4 kB / 0.9241 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.6783, allocations: 11.91 kB / 0.9241 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007242/0.6855, allocations: 4.132 MB / 0.9281 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.6856, allocations: 8 kB / 0.9282 GB, free: 7.812 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001474/0.687, allocations: 319.6 kB / 0.9285 GB, free: 7.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009025/0.688, allocations: 208 kB / 0.9287 GB, free: 7.281 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/0.6881, allocations: 39.97 kB / 0.9287 GB, free: 7.242 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005595/0.6937, allocations: 7.374 MB / 0.9359 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6937, allocations: 3.938 kB / 0.9359 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004151/0.6979, allocations: 2.014 MB / 0.9379 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/0.6989, allocations: 0.5175 MB / 0.9384 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000399/0.6993, allocations: 28 kB / 0.9384 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/0.7008, allocations: 108.6 kB / 0.9385 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002215/0.701, allocations: 125.1 kB / 0.9386 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001472/0.7011, allocations: 67.95 kB / 0.9387 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00325/0.7044, allocations: 3.128 MB / 0.9417 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.432e-06/0.7044, allocations: 0 / 0.9417 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001898/0.7063, allocations: 0.6664 MB / 0.9424 GB, free: 8.465 MB / 0.6544 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.006003/0.7123, allocations: 3.236 MB / 0.9456 GB, free: 5.375 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005211/0.7176, allocations: 2.496 MB / 0.948 GB, free: 2.816 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.896e-06/0.7176, allocations: 8.547 kB / 0.948 GB, free: 2.805 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002052/0.7196, allocations: 1.422 MB / 0.9494 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002574/0.7222, allocations: 0.5351 MB / 0.9499 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03147/0.7537, allocations: 22.74 MB / 0.9721 GB, free: 9.223 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00154/0.7553, allocations: 1.541 MB / 0.9736 GB, free: 7.652 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002122/0.7575, allocations: 0.5247 MB / 0.9741 GB, free: 7.121 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001329/0.7588, allocations: 0.8976 MB / 0.975 GB, free: 6.223 MB / 0.6856 GB Notification: Performance of SimCode: time 1.102e-06/0.7588, allocations: 0 / 0.975 GB, free: 6.223 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08802/0.8468, allocations: 48.11 MB / 1.022 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.72, allocations: 16.61 kB / 1.022 GB, free: 6.738 MB / 0.7325 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)