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.004873/0.004873, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.00108/0.00108, allocations: 193.7 kB / 16.67 MB, free: 5.977 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002126/0.002126, allocations: 282.4 kB / 290.8 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9502/0.9502, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 91.86 kB / 0.6814 GB, free: 15.53 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1637, allocations: 86.98 MB / 0.7664 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.5938/0.7575, allocations: 167.2 MB / 0.9297 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02035/0.7779, allocations: 17.24 MB / 0.9465 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001515/0.7795, allocations: 31.81 kB / 0.9465 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001659/0.7812, allocations: 0.5391 MB / 0.9471 GB, free: 9.73 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.00511/0.7863, allocations: 1.674 MB / 0.9487 GB, free: 8.055 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003897/0.7902, allocations: 1.432 MB / 0.9501 GB, free: 6.641 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.00345/0.7937, allocations: 2.679 MB / 0.9527 GB, free: 3.953 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002444/0.7961, allocations: 1.997 MB / 0.9547 GB, free: 1.91 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003598/0.7998, allocations: 1.399 MB / 0.956 GB, free: 0.5664 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001413/0.8012, allocations: 1.089 MB / 0.9571 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003829/0.8016, allocations: 224 kB / 0.9573 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003361/0.805, allocations: 1.552 MB / 0.9588 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007312/0.8057, allocations: 0.7985 MB / 0.9596 GB, free: 12.9 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001281/0.807, allocations: 1.185 MB / 0.9607 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0048/0.8118, allocations: 3.549 MB / 0.9642 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.8118, allocations: 11.94 kB / 0.9642 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.254e-06/0.8118, allocations: 3.938 kB / 0.9642 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.758e-05/0.8119, allocations: 0 / 0.9642 GB, free: 8.129 MB / 0.7169 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.004683/0.8166, allocations: 2.814 MB / 0.967 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.8166, allocations: 12.03 kB / 0.967 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003544/0.8202, allocations: 0.5682 MB / 0.9675 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002692/0.8229, allocations: 1.648 MB / 0.9692 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.823, allocations: 127.4 kB / 0.9693 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002171/0.8233, allocations: 168 kB / 0.9694 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003447/0.8267, allocations: 1.964 MB / 0.9714 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.588e-05/0.8268, allocations: 0 / 0.9714 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001655/0.8269, allocations: 79.94 kB / 0.9714 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.92e-05/0.827, allocations: 40 kB / 0.9715 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003604/0.8306, allocations: 2.117 MB / 0.9735 GB, free: 14.43 MB / 0.7325 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.008855/0.8395, allocations: 5.822 MB / 0.9792 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003308/0.8428, allocations: 2.129 MB / 0.9813 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.8441, allocations: 0.7725 MB / 0.9821 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006912/0.8449, allocations: 429.6 kB / 0.9825 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001819/0.8467, allocations: 1.028 MB / 0.9835 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 6.082e-06/0.8467, allocations: 0 / 0.9835 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.006944/0.8537, allocations: 2.993 MB / 0.9864 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.8538, allocations: 201.2 kB / 0.9866 GB, free: 500 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002482/0.8563, allocations: 1.805 MB / 0.9883 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001666/0.8565, allocations: 57.7 kB / 0.9884 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007772/0.8573, allocations: 0.852 MB / 0.9892 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004464/0.8577, allocations: 0.4957 MB / 0.9897 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004155/0.8581, allocations: 254.8 kB / 0.99 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.8583, allocations: 361.9 kB / 0.9903 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.8594, allocations: 0.5999 MB / 0.9909 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/0.8608, allocations: 0.8169 MB / 0.9917 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002335/0.8631, allocations: 1.349 MB / 0.993 GB, free: 9.801 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.8631, allocations: 0 / 0.993 GB, free: 9.801 MB / 0.7481 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003962/0.8671, allocations: 1.847 MB / 0.9948 GB, free: 7.93 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.8672, allocations: 11.94 kB / 0.9948 GB, free: 7.918 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.8672, allocations: 0 / 0.9948 GB, free: 7.918 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/0.8682, allocations: 216.1 kB / 0.995 GB, free: 7.691 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.8697, allocations: 335.5 kB / 0.9953 GB, free: 7.363 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005733/0.8755, allocations: 7.329 MB / 1.003 GB, free: 15.33 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/0.8772, allocations: 167.1 kB / 1.003 GB, free: 15.17 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.8773, allocations: 56.03 kB / 1.003 GB, free: 15.11 MB / 0.7637 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.000936/0.8783, allocations: 496 kB / 1.003 GB, free: 14.62 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003345/0.8786, allocations: 182.8 kB / 1.003 GB, free: 14.44 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004349/0.883, allocations: 2.152 MB / 1.005 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.883, allocations: 16 kB / 1.005 GB, free: 12.24 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.883, allocations: 4 kB / 1.005 GB, free: 12.24 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/0.883, allocations: 7.969 kB / 1.005 GB, free: 12.23 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006527/0.8896, allocations: 4.009 MB / 1.009 GB, free: 8.141 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.8896, allocations: 4 kB / 1.009 GB, free: 8.137 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/0.891, allocations: 319.5 kB / 1.01 GB, free: 7.824 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008595/0.8919, allocations: 208 kB / 1.01 GB, free: 7.605 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001158/0.892, allocations: 39.97 kB / 1.01 GB, free: 7.566 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005663/0.8977, allocations: 7.351 MB / 1.017 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.8977, allocations: 3.938 kB / 1.017 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004409/0.9021, allocations: 2.021 MB / 1.019 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009461/0.9031, allocations: 479.3 kB / 1.02 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002531/0.9033, allocations: 31.98 kB / 1.02 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.9045, allocations: 111.9 kB / 1.02 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002613/0.9048, allocations: 113.1 kB / 1.02 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/0.905, allocations: 71.94 kB / 1.02 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001712/0.9067, allocations: 1.289 MB / 1.021 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9067, allocations: 0 / 1.021 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002477/0.9092, allocations: 0.6742 MB / 1.022 GB, free: 10.68 MB / 0.7794 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.002223/0.9114, allocations: 0.7626 MB / 1.023 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003722/0.9152, allocations: 2.105 MB / 1.025 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.826e-06/0.9152, allocations: 12.61 kB / 1.025 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002122/0.9173, allocations: 1.426 MB / 1.026 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002563/0.9199, allocations: 0.5334 MB / 1.027 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008016/0.9279, allocations: 3.983 MB / 1.03 GB, free: 1.906 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/0.9291, allocations: 1.537 MB / 1.032 GB, free: 344 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001835/0.9309, allocations: 0.4967 MB / 1.032 GB, free: 15.83 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004796/0.9314, allocations: 171.3 kB / 1.033 GB, free: 15.66 MB / 0.795 GB Notification: Performance of SimCode: time 9.21e-07/0.9314, allocations: 4 kB / 1.033 GB, free: 15.66 MB / 0.795 GB Notification: Performance of Templates: time 0.05196/0.9834, allocations: 31.6 MB / 1.063 GB, free: 420 kB / 0.8106 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)