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.001193/0.001193, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001249/0.001249, allocations: 198.3 kB / 16.14 MB, free: 6.66 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.235/1.235, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00202/0.00202, allocations: 286.9 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8786/0.8786, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 98.81 kB / 0.5946 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1439, allocations: 86.98 MB / 0.6795 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.4217/0.5656, allocations: 164.9 MB / 0.8406 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01759/0.5832, allocations: 17.28 MB / 0.8574 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/0.5847, allocations: 27.75 kB / 0.8575 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001371/0.5861, allocations: 459.3 kB / 0.8579 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004203/0.5903, allocations: 1.499 MB / 0.8594 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002927/0.5933, allocations: 1.268 MB / 0.8606 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002935/0.5962, allocations: 2.911 MB / 0.8634 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002047/0.5983, allocations: 1.855 MB / 0.8653 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004587/0.6029, allocations: 1.253 MB / 0.8665 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001295/0.6042, allocations: 1.069 MB / 0.8675 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002569/0.6044, allocations: 124.2 kB / 0.8676 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002851/0.6073, allocations: 1.573 MB / 0.8692 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005798/0.6079, allocations: 0.7039 MB / 0.8699 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00103/0.6089, allocations: 1.127 MB / 0.871 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0039/0.6128, allocations: 3.572 MB / 0.8745 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.6129, allocations: 0 / 0.8745 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.41e-07/0.6129, allocations: 0 / 0.8745 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.355e-05/0.6129, allocations: 0 / 0.8745 GB, free: 11.94 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.004556/0.6175, allocations: 2.898 MB / 0.8773 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.6175, allocations: 14.31 kB / 0.8773 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002599/0.6178, allocations: 247 kB / 0.8775 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003614/0.6214, allocations: 0.5668 MB / 0.8781 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003341/0.6247, allocations: 3.397 MB / 0.8814 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.139e-05/0.6248, allocations: 136 kB / 0.8815 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/0.625, allocations: 168.8 kB / 0.8817 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002998/0.628, allocations: 1.959 MB / 0.8836 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.6281, allocations: 2.875 kB / 0.8836 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001574/0.6282, allocations: 77.55 kB / 0.8837 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/0.6283, allocations: 39.94 kB / 0.8837 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003262/0.6315, allocations: 2.111 MB / 0.8858 GB, free: 4.602 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.008621/0.6402, allocations: 6.375 MB / 0.892 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003158/0.6433, allocations: 2.129 MB / 0.8941 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001281/0.6446, allocations: 0.7691 MB / 0.8948 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005492/0.6452, allocations: 429.6 kB / 0.8952 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001695/0.6469, allocations: 1.017 MB / 0.8962 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=146): time 2.685e-06/0.6469, allocations: 0 / 0.8962 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of matching and sorting (n=146): time 0.006555/0.6535, allocations: 2.992 MB / 0.8992 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.046e-05/0.6536, allocations: 205.2 kB / 0.8994 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004162/0.6577, allocations: 4.073 MB / 0.9033 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001832/0.6579, allocations: 57.7 kB / 0.9034 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006924/0.6586, allocations: 0.9023 MB / 0.9043 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003735/0.659, allocations: 481 kB / 0.9047 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003617/0.6594, allocations: 238.8 kB / 0.905 GB, free: 352 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.6595, allocations: 357.9 kB / 0.9053 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.6606, allocations: 0.5843 MB / 0.9059 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.6619, allocations: 0.8125 MB / 0.9067 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002274/0.6641, allocations: 1.333 MB / 0.908 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.6642, allocations: 0 / 0.908 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003921/0.6681, allocations: 1.803 MB / 0.9097 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.6681, allocations: 8 kB / 0.9097 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.6681, allocations: 0 / 0.9097 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/0.6691, allocations: 208.2 kB / 0.9099 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/0.6707, allocations: 331.5 kB / 0.9103 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005303/0.676, allocations: 6.803 MB / 0.9169 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/0.6777, allocations: 186.6 kB / 0.9171 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.6778, allocations: 55.95 kB / 0.9171 GB, free: 3.09 MB / 0.6231 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.0008609/0.6787, allocations: 483 kB / 0.9176 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003692/0.6791, allocations: 197.7 kB / 0.9178 GB, free: 2.414 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004286/0.6834, allocations: 2.157 MB / 0.9199 GB, free: 232 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.6834, allocations: 16 kB / 0.9199 GB, free: 216 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.6834, allocations: 7.984 kB / 0.9199 GB, free: 208 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.6834, allocations: 3.984 kB / 0.9199 GB, free: 204 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006289/0.6897, allocations: 4.151 MB / 0.924 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.6897, allocations: 0 / 0.924 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001422/0.6912, allocations: 319.5 kB / 0.9243 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008999/0.6921, allocations: 212.1 kB / 0.9245 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.345e-05/0.6922, allocations: 43.95 kB / 0.9245 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005076/0.6973, allocations: 6.843 MB / 0.9312 GB, free: 3.883 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.6973, allocations: 0 / 0.9312 GB, free: 3.883 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00387/0.7012, allocations: 2.014 MB / 0.9332 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007455/0.7019, allocations: 0.5137 MB / 0.9337 GB, free: 1.297 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002298/0.7022, allocations: 32 kB / 0.9337 GB, free: 1.266 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/0.7035, allocations: 133.5 kB / 0.9338 GB, free: 1.137 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002258/0.7037, allocations: 113.1 kB / 0.9339 GB, free: 1.027 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/0.7039, allocations: 72.02 kB / 0.934 GB, free: 0.957 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002826/0.7067, allocations: 3.132 MB / 0.9371 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.743e-06/0.7067, allocations: 0 / 0.9371 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001607/0.7083, allocations: 0.6703 MB / 0.9377 GB, free: 13.16 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.005493/0.7138, allocations: 3.235 MB / 0.9409 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003173/0.717, allocations: 2.066 MB / 0.9429 GB, free: 7.941 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.717, allocations: 4.547 kB / 0.9429 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00192/0.7189, allocations: 1.422 MB / 0.9443 GB, free: 6.449 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002066/0.721, allocations: 0.5031 MB / 0.9448 GB, free: 5.957 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0322/0.7532, allocations: 23.51 MB / 0.9677 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/0.7543, allocations: 1.533 MB / 0.9692 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001927/0.7563, allocations: 0.5247 MB / 0.9697 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001141/0.7574, allocations: 0.8936 MB / 0.9706 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of SimCode: time 7.01e-07/0.7574, allocations: 0 / 0.9706 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06697/0.8244, allocations: 46.66 MB / 1.016 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002629/0.8247, allocations: 314.2 kB / 1.016 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.319/4.144, allocations: 0 / 1.016 GB, free: 12.21 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)