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.001468/0.001468, 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.0015/0.0015, allocations: 194.8 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002418/0.002418, allocations: 281.7 kB / 290.7 MB, free: 1.852 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.025/1.025, allocations: 178.6 MB / 0.5073 GB, free: 4.543 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002606/0.002606, allocations: 98.62 kB / 0.6065 GB, free: 24.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1474, allocations: 89.15 MB / 0.6936 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.4251/0.5725, allocations: 168.4 MB / 0.8581 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0211/0.5936, allocations: 17.37 MB / 0.875 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.5949, allocations: 31.84 kB / 0.8751 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001475/0.5964, allocations: 0.5704 MB / 0.8756 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004185/0.6006, allocations: 1.781 MB / 0.8774 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003007/0.6036, allocations: 1.428 MB / 0.8788 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002703/0.6063, allocations: 2.879 MB / 0.8816 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00214/0.6084, allocations: 1.934 MB / 0.8835 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003765/0.6122, allocations: 1.438 MB / 0.8849 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001325/0.6135, allocations: 1.113 MB / 0.8859 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003191/0.6139, allocations: 220 kB / 0.8862 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002899/0.6168, allocations: 1.533 MB / 0.8877 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007355/0.6175, allocations: 0.7984 MB / 0.8884 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001237/0.6188, allocations: 1.275 MB / 0.8897 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004376/0.6232, allocations: 3.664 MB / 0.8933 GB, free: 15 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.6232, allocations: 4 kB / 0.8933 GB, free: 15 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.273e-06/0.6232, allocations: 0 / 0.8933 GB, free: 15 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.949e-05/0.6232, allocations: 0 / 0.8933 GB, free: 15 MB / 0.6231 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.004984/0.6282, allocations: 2.923 MB / 0.8961 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.6283, allocations: 12.02 kB / 0.8961 GB, free: 12 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003059/0.6286, allocations: 244.9 kB / 0.8964 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003607/0.6322, allocations: 0.5745 MB / 0.8969 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003986/0.6362, allocations: 3.39 MB / 0.9002 GB, free: 7.73 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.6363, allocations: 131.4 kB / 0.9004 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002265/0.6365, allocations: 168 kB / 0.9005 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003323/0.6399, allocations: 1.956 MB / 0.9024 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/0.6399, allocations: 8 kB / 0.9024 GB, free: 5.422 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/0.6401, allocations: 72 kB / 0.9025 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-05/0.6401, allocations: 40 kB / 0.9025 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003717/0.6438, allocations: 2.12 MB / 0.9046 GB, free: 3.188 MB / 0.6231 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.009908/0.6538, allocations: 6.77 MB / 0.9112 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003569/0.6574, allocations: 2.135 MB / 0.9133 GB, free: 9.863 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001362/0.6587, allocations: 0.7698 MB / 0.9141 GB, free: 9.098 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006174/0.6594, allocations: 437.6 kB / 0.9145 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001841/0.6612, allocations: 1.013 MB / 0.9155 GB, free: 7.562 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=146): time 2.975e-06/0.6612, allocations: 0 / 0.9155 GB, free: 7.562 MB / 0.6387 GB Notification: Performance of matching and sorting (n=146): time 0.007168/0.6684, allocations: 3 MB / 0.9184 GB, free: 4.449 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.6686, allocations: 201.2 kB / 0.9186 GB, free: 4.207 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00471/0.6733, allocations: 4.081 MB / 0.9226 GB, free: 124 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001779/0.6735, allocations: 61.7 kB / 0.9226 GB, free: 56 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008345/0.6743, allocations: 0.8945 MB / 0.9235 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000444/0.6748, allocations: 481 kB / 0.924 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003937/0.6752, allocations: 234.8 kB / 0.9242 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.6753, allocations: 361.9 kB / 0.9245 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/0.6765, allocations: 0.5842 MB / 0.9251 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001425/0.678, allocations: 0.8087 MB / 0.9259 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002547/0.6805, allocations: 1.333 MB / 0.9272 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.6806, allocations: 4 kB / 0.9272 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004174/0.6847, allocations: 1.795 MB / 0.9289 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.6848, allocations: 4 kB / 0.929 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.6848, allocations: 0 / 0.929 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.6859, allocations: 216.1 kB / 0.9292 GB, free: 9.223 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/0.6874, allocations: 327.6 kB / 0.9295 GB, free: 8.902 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006608/0.6941, allocations: 7.335 MB / 0.9366 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/0.6957, allocations: 162.7 kB / 0.9368 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001799/0.6959, allocations: 55.95 kB / 0.9368 GB, free: 0.6484 MB / 0.6544 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.001/0.6969, allocations: 483 kB / 0.9373 GB, free: 172 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005781/0.6975, allocations: 189.8 kB / 0.9375 GB, free: 15.98 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004992/0.7025, allocations: 2.161 MB / 0.9396 GB, free: 13.79 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/0.7025, allocations: 23.92 kB / 0.9396 GB, free: 13.76 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.7025, allocations: 4 kB / 0.9396 GB, free: 13.76 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.7025, allocations: 3.984 kB / 0.9396 GB, free: 13.75 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007777/0.7103, allocations: 4.143 MB / 0.9437 GB, free: 9.539 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.361e-06/0.7103, allocations: 0 / 0.9437 GB, free: 9.539 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/0.7119, allocations: 327.6 kB / 0.944 GB, free: 9.219 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009349/0.7128, allocations: 204 kB / 0.9442 GB, free: 9.004 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/0.713, allocations: 39.97 kB / 0.9442 GB, free: 8.965 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006529/0.7195, allocations: 7.372 MB / 0.9514 GB, free: 0.8828 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7195, allocations: 0 / 0.9514 GB, free: 0.8828 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004492/0.724, allocations: 2.014 MB / 0.9534 GB, free: 14.83 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009941/0.725, allocations: 0.5099 MB / 0.9539 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003486/0.7254, allocations: 28 kB / 0.9539 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/0.7268, allocations: 110.2 kB / 0.954 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002447/0.7271, allocations: 117.1 kB / 0.9541 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001639/0.7272, allocations: 67.95 kB / 0.9542 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003606/0.7309, allocations: 3.136 MB / 0.9573 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7309, allocations: 0 / 0.9573 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001806/0.7327, allocations: 0.6898 MB / 0.9579 GB, free: 10.17 MB / 0.6856 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.006835/0.7395, allocations: 3.238 MB / 0.9611 GB, free: 7.09 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005581/0.7451, allocations: 2.508 MB / 0.9635 GB, free: 4.516 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.7451, allocations: 8.547 kB / 0.9635 GB, free: 4.508 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002274/0.7474, allocations: 1.426 MB / 0.9649 GB, free: 3.02 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/0.75, allocations: 0.56 MB / 0.9655 GB, free: 2.48 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03342/0.7835, allocations: 22.62 MB / 0.9876 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001552/0.7851, allocations: 1.529 MB / 0.9891 GB, free: 9.465 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002068/0.7871, allocations: 0.5366 MB / 0.9896 GB, free: 8.922 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001383/0.7885, allocations: 0.9014 MB / 0.9905 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of SimCode: time 9.82e-07/0.7885, allocations: 0 / 0.9905 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1074/0.8959, allocations: 48.97 MB / 1.038 GB, free: 7.715 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.58, allocations: 11.94 kB / 1.038 GB, free: 7.703 MB / 0.7637 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)