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.007686/0.007686, allocations: 104.3 kB / 15.74 MB, free: 6.441 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.001738/0.001738, allocations: 188.6 kB / 16.67 MB, free: 6.355 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.395/1.395, 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.002218/0.002218, allocations: 283 kB / 290.8 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.9799/0.9799, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 107.8 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.164, allocations: 86.97 MB / 0.7664 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.5743/0.7384, allocations: 167.2 MB / 0.9297 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02322/0.7616, allocations: 17.24 MB / 0.9465 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001449/0.7631, allocations: 27.81 kB / 0.9465 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001711/0.7649, allocations: 0.5548 MB / 0.9471 GB, free: 9.734 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.004615/0.7695, allocations: 1.718 MB / 0.9487 GB, free: 8.016 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00355/0.7731, allocations: 1.435 MB / 0.9501 GB, free: 6.598 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.003447/0.7765, allocations: 2.674 MB / 0.9528 GB, free: 3.914 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00288/0.7794, allocations: 2.009 MB / 0.9547 GB, free: 1.859 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004/0.7834, allocations: 1.445 MB / 0.9561 GB, free: 476 kB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001542/0.785, allocations: 1.082 MB / 0.9572 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005176/0.7855, allocations: 223.9 kB / 0.9574 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00303/0.7885, allocations: 1.56 MB / 0.9589 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000864/0.7894, allocations: 0.7985 MB / 0.9597 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001677/0.7911, allocations: 1.189 MB / 0.9609 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004384/0.7955, allocations: 3.536 MB / 0.9643 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.7955, allocations: 0 / 0.9643 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.006e-06/0.7955, allocations: 7.984 kB / 0.9643 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.165e-05/0.7956, allocations: 0 / 0.9643 GB, free: 8.047 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.00514/0.8008, allocations: 2.736 MB / 0.967 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.8008, allocations: 8.031 kB / 0.967 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003701/0.8045, allocations: 0.5551 MB / 0.9675 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002589/0.8071, allocations: 1.638 MB / 0.9691 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.8072, allocations: 131.4 kB / 0.9693 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002442/0.8075, allocations: 164 kB / 0.9694 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003262/0.8108, allocations: 1.956 MB / 0.9713 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/0.8108, allocations: 4 kB / 0.9713 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001474/0.8109, allocations: 76 kB / 0.9714 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.885e-05/0.811, allocations: 40 kB / 0.9715 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003327/0.8143, allocations: 2.117 MB / 0.9735 GB, free: 14.45 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.008205/0.8225, allocations: 5.805 MB / 0.9792 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003216/0.8258, allocations: 2.125 MB / 0.9813 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/0.827, allocations: 0.7686 MB / 0.982 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005598/0.8276, allocations: 437.6 kB / 0.9824 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001644/0.8292, allocations: 1.02 MB / 0.9834 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 2.886e-06/0.8292, allocations: 0 / 0.9834 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.006448/0.8357, allocations: 2.981 MB / 0.9863 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.8358, allocations: 205.2 kB / 0.9865 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0022/0.838, allocations: 1.809 MB / 0.9883 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001483/0.8382, allocations: 53.7 kB / 0.9884 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006904/0.8389, allocations: 0.8351 MB / 0.9892 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003978/0.8393, allocations: 480.9 kB / 0.9896 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004818/0.8398, allocations: 262.7 kB / 0.9899 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.8399, allocations: 357.9 kB / 0.9902 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.841, allocations: 0.6038 MB / 0.9908 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/0.8423, allocations: 0.8208 MB / 0.9916 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002316/0.8447, allocations: 1.353 MB / 0.9929 GB, free: 9.887 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.8447, allocations: 0 / 0.9929 GB, free: 9.887 MB / 0.7481 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003742/0.8484, allocations: 1.834 MB / 0.9947 GB, free: 8.027 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.8485, allocations: 7.938 kB / 0.9947 GB, free: 8.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.8485, allocations: 8 kB / 0.9947 GB, free: 8.012 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009763/0.8495, allocations: 220.1 kB / 0.9949 GB, free: 7.781 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/0.851, allocations: 331.6 kB / 0.9953 GB, free: 7.457 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005612/0.8566, allocations: 7.317 MB / 1.002 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.858, allocations: 172.1 kB / 1.003 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.8582, allocations: 59.95 kB / 1.003 GB, free: 15.21 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.0008525/0.859, allocations: 490 kB / 1.003 GB, free: 14.72 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003106/0.8593, allocations: 177.8 kB / 1.003 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004191/0.8635, allocations: 2.144 MB / 1.005 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.8636, allocations: 20 kB / 1.005 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.8636, allocations: 0 / 1.005 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.137e-05/0.8636, allocations: 12 kB / 1.005 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00599/0.8696, allocations: 4.013 MB / 1.009 GB, free: 8.25 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.8696, allocations: 0 / 1.009 GB, free: 8.25 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001368/0.871, allocations: 327.5 kB / 1.01 GB, free: 7.93 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007824/0.8718, allocations: 196.1 kB / 1.01 GB, free: 7.723 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-05/0.8719, allocations: 43.97 kB / 1.01 GB, free: 7.68 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005545/0.8774, allocations: 7.359 MB / 1.017 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.8775, allocations: 3.938 kB / 1.017 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003802/0.8813, allocations: 2.008 MB / 1.019 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006875/0.882, allocations: 470.3 kB / 1.019 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001869/0.8822, allocations: 35.94 kB / 1.019 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.8833, allocations: 105.3 kB / 1.02 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002083/0.8836, allocations: 113.1 kB / 1.02 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001444/0.8837, allocations: 76 kB / 1.02 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00153/0.8852, allocations: 1.289 MB / 1.021 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8853, allocations: 0 / 1.021 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001519/0.8868, allocations: 0.6586 MB / 1.022 GB, free: 10.82 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.001587/0.8884, allocations: 0.7493 MB / 1.022 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003334/0.8917, allocations: 2.117 MB / 1.024 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.8917, allocations: 4.547 kB / 1.024 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001967/0.8937, allocations: 1.426 MB / 1.026 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/0.8956, allocations: 0.53 MB / 1.026 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006843/0.9025, allocations: 3.926 MB / 1.03 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/0.9036, allocations: 1.533 MB / 1.032 GB, free: 0.5469 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001613/0.9052, allocations: 0.4968 MB / 1.032 GB, free: 44 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004887/0.9057, allocations: 179.3 kB / 1.032 GB, free: 15.87 MB / 0.795 GB Notification: Performance of SimCode: time 6.51e-07/0.9057, allocations: 0 / 1.032 GB, free: 15.87 MB / 0.795 GB Notification: Performance of Templates: time 0.05101/0.9567, allocations: 31.59 MB / 1.063 GB, free: 0.625 MB / 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)