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.0008103/0.0008103, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.005084/0.005085, allocations: 174.7 kB / 16.27 MB, free: 6.613 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.211/1.211, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001678/0.001678, allocations: 259.1 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9031/0.9031, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004338/0.0004338, allocations: 15.95 kB / 0.5988 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.135, allocations: 88.54 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.3947/0.5297, allocations: 162.7 MB / 0.8441 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01721/0.5469, allocations: 17.03 MB / 0.8607 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001032/0.548, allocations: 27.75 kB / 0.8608 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.5491, allocations: 458.8 kB / 0.8612 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003526/0.5527, allocations: 1.51 MB / 0.8627 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002656/0.5553, allocations: 1.261 MB / 0.8639 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002304/0.5576, allocations: 2.912 MB / 0.8667 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001717/0.5594, allocations: 1.721 MB / 0.8684 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004041/0.5634, allocations: 1.09 MB / 0.8695 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00086/0.5643, allocations: 0.8742 MB / 0.8703 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.5644, allocations: 49.25 kB / 0.8704 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002335/0.5668, allocations: 1.514 MB / 0.8719 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004393/0.5672, allocations: 0.5974 MB / 0.8725 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007684/0.568, allocations: 1.025 MB / 0.8735 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002914/0.5709, allocations: 3.461 MB / 0.8768 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.5709, allocations: 3.344 kB / 0.8768 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5709, allocations: 4 kB / 0.8768 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.754e-05/0.571, allocations: 0 / 0.8768 GB, free: 11.16 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.003502/0.5745, allocations: 2.414 MB / 0.8792 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.5745, allocations: 8.031 kB / 0.8792 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000262/0.5748, allocations: 252.9 kB / 0.8794 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003263/0.578, allocations: 0.5822 MB / 0.88 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003236/0.5813, allocations: 3.382 MB / 0.8833 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-05/0.5814, allocations: 131.4 kB / 0.8834 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/0.5816, allocations: 168 kB / 0.8836 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002954/0.5846, allocations: 1.968 MB / 0.8855 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/0.5846, allocations: 7.984 kB / 0.8855 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001484/0.5848, allocations: 72 kB / 0.8856 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.767e-05/0.5848, allocations: 40 kB / 0.8856 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003205/0.588, allocations: 2.136 MB / 0.8877 GB, free: 136 kB / 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.007893/0.5959, allocations: 6.42 MB / 0.894 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003123/0.599, allocations: 2.149 MB / 0.8961 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/0.6003, allocations: 0.7854 MB / 0.8969 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005083/0.6008, allocations: 429.6 kB / 0.8973 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0016/0.6024, allocations: 1.031 MB / 0.8983 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=146): time 2.685e-06/0.6024, allocations: 0 / 0.8983 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of matching and sorting (n=146): time 0.006151/0.6086, allocations: 3.032 MB / 0.9012 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.532e-05/0.6087, allocations: 209.2 kB / 0.9014 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003791/0.6125, allocations: 4.069 MB / 0.9054 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.6126, allocations: 57.7 kB / 0.9055 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006119/0.6132, allocations: 0.8984 MB / 0.9063 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003217/0.6135, allocations: 484.9 kB / 0.9068 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.6137, allocations: 101.7 kB / 0.9069 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.6138, allocations: 357.9 kB / 0.9072 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.6149, allocations: 0.5882 MB / 0.9078 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/0.6161, allocations: 0.8165 MB / 0.9086 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002218/0.6183, allocations: 1.353 MB / 0.9099 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6183, allocations: 0 / 0.9099 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003416/0.6218, allocations: 1.822 MB / 0.9117 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.6218, allocations: 4 kB / 0.9117 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-06/0.6218, allocations: 4 kB / 0.9117 GB, free: 6.836 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009538/0.6228, allocations: 208.1 kB / 0.9119 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/0.6242, allocations: 331.6 kB / 0.9122 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0049/0.6291, allocations: 6.825 MB / 0.9189 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.6304, allocations: 186.8 kB / 0.9191 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.135e-05/0.6305, allocations: 51.95 kB / 0.9191 GB, free: 14.57 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.0007037/0.6312, allocations: 495 kB / 0.9196 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002458/0.6315, allocations: 193.6 kB / 0.9198 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004173/0.6356, allocations: 2.177 MB / 0.9219 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.6357, allocations: 23.98 kB / 0.9219 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.6357, allocations: 4 kB / 0.9219 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.6357, allocations: 3.984 kB / 0.9219 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005874/0.6416, allocations: 4.158 MB / 0.926 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.6416, allocations: 4 kB / 0.926 GB, free: 7.41 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001343/0.6429, allocations: 327.5 kB / 0.9263 GB, free: 7.09 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008617/0.6438, allocations: 216 kB / 0.9265 GB, free: 6.863 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-05/0.6439, allocations: 39.97 kB / 0.9266 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004714/0.6486, allocations: 6.847 MB / 0.9333 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6486, allocations: 0 / 0.9333 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003527/0.6522, allocations: 2.034 MB / 0.9352 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006997/0.6529, allocations: 0.5253 MB / 0.9358 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001937/0.6531, allocations: 35.94 kB / 0.9358 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/0.6544, allocations: 157.3 kB / 0.9359 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/0.6546, allocations: 109.2 kB / 0.936 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/0.6547, allocations: 75.94 kB / 0.9361 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002813/0.6575, allocations: 3.132 MB / 0.9392 GB, free: 9.188 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6576, allocations: 0 / 0.9392 GB, free: 9.188 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001471/0.659, allocations: 0.6664 MB / 0.9398 GB, free: 8.52 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.005198/0.6642, allocations: 3.254 MB / 0.943 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003036/0.6673, allocations: 2.094 MB / 0.945 GB, free: 3.25 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.6673, allocations: 8.547 kB / 0.9451 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001826/0.6691, allocations: 1.434 MB / 0.9465 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002096/0.6712, allocations: 0.5162 MB / 0.947 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03013/0.7014, allocations: 23.61 MB / 0.97 GB, free: 8.801 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/0.7024, allocations: 1.533 MB / 0.9715 GB, free: 7.234 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001733/0.7042, allocations: 0.5247 MB / 0.972 GB, free: 6.703 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/0.7052, allocations: 0.8976 MB / 0.9729 GB, free: 5.805 MB / 0.6856 GB Notification: Performance of SimCode: time 5.41e-07/0.7052, allocations: 0 / 0.9729 GB, free: 5.805 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.353/5.058, allocations: 45.65 MB / 1.017 GB, free: 8.793 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002658/5.058, allocations: 307.4 kB / 1.018 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.717/8.775, allocations: 4 kB / 1.018 GB, free: 8.406 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1)