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: translateModel(BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions") translateModel(BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001741/0.001742, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002117/0.002117, allocations: 190.5 kB / 16.25 MB, free: 6.629 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.438/1.438, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002534/0.002534, allocations: 286.9 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.069/1.069, allocations: 178.6 MB / 0.5069 GB, free: 4.707 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002781/0.002781, allocations: 107.9 kB / 0.6059 GB, free: 25.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1868, allocations: 89.14 MB / 0.693 GB, free: 4.715 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.4927/0.6795, allocations: 166.1 MB / 0.8552 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02319/0.7028, allocations: 17.18 MB / 0.872 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001769/0.7046, allocations: 29.88 kB / 0.872 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001742/0.7064, allocations: 493.6 kB / 0.8725 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00507/0.7115, allocations: 1.635 MB / 0.8741 GB, free: 132 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003361/0.7148, allocations: 1.308 MB / 0.8753 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003287/0.7181, allocations: 2.881 MB / 0.8782 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00239/0.7205, allocations: 1.946 MB / 0.8801 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00557/0.7261, allocations: 1.434 MB / 0.8815 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001454/0.7276, allocations: 1.156 MB / 0.8826 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003201/0.7279, allocations: 220 kB / 0.8828 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002951/0.7309, allocations: 1.568 MB / 0.8843 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000744/0.7316, allocations: 0.8024 MB / 0.8851 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00126/0.7329, allocations: 1.22 MB / 0.8863 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004732/0.7376, allocations: 3.598 MB / 0.8898 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.7376, allocations: 0 / 0.8898 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7377, allocations: 0 / 0.8898 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.806e-05/0.7377, allocations: 0 / 0.8898 GB, free: 2.613 MB / 0.6075 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.005512/0.7432, allocations: 2.774 MB / 0.8925 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.7433, allocations: 8.031 kB / 0.8925 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003989/0.7473, allocations: 0.5629 MB / 0.8931 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003437/0.7507, allocations: 1.596 MB / 0.8946 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.7509, allocations: 127.4 kB / 0.8948 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002697/0.7512, allocations: 168 kB / 0.8949 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003837/0.755, allocations: 1.956 MB / 0.8968 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.683e-05/0.7551, allocations: 0 / 0.8968 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001852/0.7553, allocations: 76 kB / 0.8969 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.542e-05/0.7553, allocations: 44 kB / 0.8969 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003861/0.7592, allocations: 2.117 MB / 0.899 GB, free: 9.016 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.01083/0.7701, allocations: 6.242 MB / 0.9051 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0037/0.7738, allocations: 2.131 MB / 0.9072 GB, free: 220 kB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001389/0.7752, allocations: 0.7724 MB / 0.9079 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006964/0.7759, allocations: 425.6 kB / 0.9083 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001911/0.7778, allocations: 1.021 MB / 0.9093 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=146): time 5.239e-06/0.7778, allocations: 0 / 0.9093 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of matching and sorting (n=146): time 0.007662/0.7855, allocations: 2.985 MB / 0.9123 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/0.7857, allocations: 201.2 kB / 0.9125 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002522/0.7882, allocations: 1.808 MB / 0.9142 GB, free: 8.754 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001557/0.7884, allocations: 57.7 kB / 0.9143 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008224/0.7892, allocations: 0.8351 MB / 0.9151 GB, free: 7.844 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004679/0.7897, allocations: 485 kB / 0.9156 GB, free: 7.363 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004548/0.7901, allocations: 266.7 kB / 0.9158 GB, free: 7.098 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.7903, allocations: 357.9 kB / 0.9161 GB, free: 6.742 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001252/0.7916, allocations: 0.6038 MB / 0.9167 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/0.7931, allocations: 0.8092 MB / 0.9175 GB, free: 5.277 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002624/0.7957, allocations: 1.36 MB / 0.9189 GB, free: 3.906 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.7957, allocations: 0 / 0.9189 GB, free: 3.906 MB / 0.6387 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004257/0.8, allocations: 1.83 MB / 0.9206 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.8, allocations: 7.938 kB / 0.9207 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.8, allocations: 0 / 0.9207 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.8012, allocations: 220.1 kB / 0.9209 GB, free: 1.812 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/0.8029, allocations: 335.6 kB / 0.9212 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007193/0.8101, allocations: 7.326 MB / 0.9283 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/0.812, allocations: 192.6 kB / 0.9285 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/0.8121, allocations: 55.95 kB / 0.9286 GB, free: 9.215 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: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (153): * Single equations (assignments): 148 * 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.00108/0.8132, allocations: 487.8 kB / 0.929 GB, free: 8.73 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003923/0.8136, allocations: 185.9 kB / 0.9292 GB, free: 8.547 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005068/0.8187, allocations: 2.148 MB / 0.9313 GB, free: 6.367 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/0.8187, allocations: 16 kB / 0.9313 GB, free: 6.352 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.8187, allocations: 0 / 0.9313 GB, free: 6.352 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.835e-05/0.8188, allocations: 7.969 kB / 0.9313 GB, free: 6.344 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008245/0.827, allocations: 4.029 MB / 0.9353 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.8271, allocations: 0 / 0.9353 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/0.8287, allocations: 323.5 kB / 0.9356 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009516/0.8296, allocations: 200.1 kB / 0.9358 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/0.8297, allocations: 43.95 kB / 0.9358 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006871/0.8366, allocations: 7.348 MB / 0.943 GB, free: 9.613 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.8366, allocations: 3.938 kB / 0.943 GB, free: 9.609 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004629/0.8413, allocations: 2.01 MB / 0.945 GB, free: 7.566 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008534/0.8421, allocations: 466.4 kB / 0.9454 GB, free: 7.09 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002532/0.8424, allocations: 32 kB / 0.9454 GB, free: 7.059 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001452/0.8439, allocations: 137.5 kB / 0.9456 GB, free: 6.926 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002687/0.8441, allocations: 117.1 kB / 0.9457 GB, free: 6.812 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/0.8443, allocations: 71.94 kB / 0.9457 GB, free: 6.742 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001831/0.8461, allocations: 1.289 MB / 0.947 GB, free: 5.457 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.1e-07/0.8462, allocations: 0 / 0.947 GB, free: 5.457 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001792/0.848, allocations: 0.6937 MB / 0.9477 GB, free: 4.762 MB / 0.67 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.002387/0.8504, allocations: 0.7631 MB / 0.9484 GB, free: 4.184 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005812/0.8562, allocations: 2.547 MB / 0.9509 GB, free: 1.57 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.8562, allocations: 8.547 kB / 0.9509 GB, free: 1.562 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00235/0.8586, allocations: 1.426 MB / 0.9523 GB, free: 76 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002507/0.8611, allocations: 0.5411 MB / 0.9528 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007836/0.8689, allocations: 4.718 MB / 0.9574 GB, free: 10.81 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/0.8702, allocations: 1.537 MB / 0.9589 GB, free: 9.246 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002014/0.8722, allocations: 0.4969 MB / 0.9594 GB, free: 8.742 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005157/0.8728, allocations: 179.3 kB / 0.9596 GB, free: 8.566 MB / 0.6856 GB Notification: Performance of SimCode: time 9.12e-07/0.8728, allocations: 0 / 0.9596 GB, free: 8.566 MB / 0.6856 GB Notification: Performance of Templates: time 0.05698/0.9298, allocations: 31.96 MB / 0.9908 GB, free: 8.988 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1)