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.001375/0.001375, allocations: 103.9 kB / 16.35 MB, free: 5.824 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.001661/0.001661, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003339/0.003339, allocations: 292.3 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9375/0.9375, allocations: 169.2 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 90.17 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1612, allocations: 86.98 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.489/0.6502, allocations: 167.2 MB / 0.8449 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02004/0.6703, allocations: 17.21 MB / 0.8617 GB, free: 5.988 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001442/0.6718, allocations: 31.81 kB / 0.8617 GB, free: 5.957 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001495/0.6734, allocations: 0.5313 MB / 0.8622 GB, free: 5.422 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004633/0.678, allocations: 1.684 MB / 0.8639 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003336/0.6814, allocations: 1.432 MB / 0.8653 GB, free: 2.32 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003097/0.6845, allocations: 2.674 MB / 0.8679 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002313/0.6868, allocations: 2.006 MB / 0.8699 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003414/0.6902, allocations: 1.396 MB / 0.8712 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00129/0.6915, allocations: 1.097 MB / 0.8723 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002774/0.6918, allocations: 220 kB / 0.8725 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002735/0.6946, allocations: 1.556 MB / 0.874 GB, free: 9.359 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006477/0.6952, allocations: 0.7907 MB / 0.8748 GB, free: 8.566 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.6963, allocations: 1.185 MB / 0.8759 GB, free: 7.375 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00386/0.7001, allocations: 3.54 MB / 0.8794 GB, free: 3.824 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.7002, allocations: 4 kB / 0.8794 GB, free: 3.82 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.452e-06/0.7002, allocations: 3.938 kB / 0.8794 GB, free: 3.816 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.689e-05/0.7002, allocations: 0 / 0.8794 GB, free: 3.816 MB / 0.6387 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.004262/0.7045, allocations: 2.748 MB / 0.8821 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.7045, allocations: 8.031 kB / 0.8821 GB, free: 1 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003612/0.7081, allocations: 0.5473 MB / 0.8826 GB, free: 460 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002395/0.7105, allocations: 1.647 MB / 0.8842 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.7107, allocations: 123.4 kB / 0.8844 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000209/0.7109, allocations: 180 kB / 0.8845 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003064/0.714, allocations: 1.952 MB / 0.8864 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/0.714, allocations: 0 / 0.8864 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/0.7142, allocations: 72 kB / 0.8865 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.099e-05/0.7142, allocations: 44 kB / 0.8866 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003348/0.7175, allocations: 2.117 MB / 0.8886 GB, free: 10.21 MB / 0.6544 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.008415/0.726, allocations: 5.814 MB / 0.8943 GB, free: 4.141 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003132/0.7291, allocations: 2.128 MB / 0.8964 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001204/0.7303, allocations: 0.7686 MB / 0.8971 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005681/0.7309, allocations: 433.6 kB / 0.8975 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00164/0.7326, allocations: 1.019 MB / 0.8985 GB, free: 15.63 MB / 0.67 GB Notification: Performance of pre-optimization done (n=146): time 3.216e-06/0.7326, allocations: 0 / 0.8985 GB, free: 15.63 MB / 0.67 GB Notification: Performance of matching and sorting (n=146): time 0.006567/0.7392, allocations: 2.973 MB / 0.9014 GB, free: 12.55 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.7393, allocations: 197.2 kB / 0.9016 GB, free: 12.31 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/0.7414, allocations: 1.812 MB / 0.9034 GB, free: 10.48 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001418/0.7416, allocations: 57.7 kB / 0.9035 GB, free: 10.42 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006448/0.7422, allocations: 0.8351 MB / 0.9043 GB, free: 9.574 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004268/0.7427, allocations: 488.9 kB / 0.9047 GB, free: 9.09 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003999/0.7431, allocations: 258.8 kB / 0.905 GB, free: 8.832 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.7432, allocations: 361.8 kB / 0.9053 GB, free: 8.473 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/0.7443, allocations: 0.6038 MB / 0.9059 GB, free: 7.867 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/0.7457, allocations: 0.8092 MB / 0.9067 GB, free: 7.008 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002375/0.7481, allocations: 1.36 MB / 0.908 GB, free: 5.633 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.7481, allocations: 0 / 0.908 GB, free: 5.633 MB / 0.67 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003969/0.7521, allocations: 1.834 MB / 0.9098 GB, free: 3.773 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.7521, allocations: 7.938 kB / 0.9098 GB, free: 3.766 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.7521, allocations: 0 / 0.9098 GB, free: 3.766 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.7531, allocations: 216.2 kB / 0.91 GB, free: 3.539 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/0.7548, allocations: 339.5 kB / 0.9104 GB, free: 3.207 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005923/0.7607, allocations: 7.316 MB / 0.9175 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.7622, allocations: 174.4 kB / 0.9177 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.7624, allocations: 51.95 kB / 0.9177 GB, free: 10.97 MB / 0.6856 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.0008477/0.7632, allocations: 491.1 kB / 0.9182 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003098/0.7635, allocations: 185.8 kB / 0.9184 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004255/0.7678, allocations: 2.14 MB / 0.9205 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.7678, allocations: 16 kB / 0.9205 GB, free: 8.117 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.7678, allocations: 0 / 0.9205 GB, free: 8.117 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.7679, allocations: 11.97 kB / 0.9205 GB, free: 8.105 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006344/0.7742, allocations: 4.006 MB / 0.9244 GB, free: 4.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.7742, allocations: 0 / 0.9244 GB, free: 4.02 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001466/0.7757, allocations: 331.5 kB / 0.9247 GB, free: 3.695 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000829/0.7766, allocations: 204.1 kB / 0.9249 GB, free: 3.48 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/0.7767, allocations: 39.97 kB / 0.9249 GB, free: 3.441 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005475/0.7821, allocations: 7.357 MB / 0.9321 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.7822, allocations: 3.938 kB / 0.9321 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004073/0.7862, allocations: 2.004 MB / 0.9341 GB, free: 9.336 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/0.7873, allocations: 478.2 kB / 0.9345 GB, free: 8.848 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002872/0.7876, allocations: 32 kB / 0.9346 GB, free: 8.816 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/0.7888, allocations: 107.2 kB / 0.9347 GB, free: 8.715 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/0.789, allocations: 117.2 kB / 0.9348 GB, free: 8.602 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/0.7892, allocations: 75.88 kB / 0.9349 GB, free: 8.527 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001535/0.7907, allocations: 1.289 MB / 0.9361 GB, free: 7.242 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7907, allocations: 0 / 0.9361 GB, free: 7.242 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001528/0.7923, allocations: 0.6625 MB / 0.9368 GB, free: 6.578 MB / 0.7012 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.001652/0.7939, allocations: 0.7564 MB / 0.9375 GB, free: 6.004 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003316/0.7973, allocations: 2.102 MB / 0.9396 GB, free: 3.836 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.7973, allocations: 4.547 kB / 0.9396 GB, free: 3.828 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002064/0.7993, allocations: 1.426 MB / 0.941 GB, free: 2.34 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002105/0.8015, allocations: 0.5302 MB / 0.9415 GB, free: 1.84 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007493/0.809, allocations: 3.936 MB / 0.9453 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001308/0.8103, allocations: 1.537 MB / 0.9468 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001562/0.8119, allocations: 0.4928 MB / 0.9473 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004976/0.8124, allocations: 175.3 kB / 0.9475 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of SimCode: time 7.42e-07/0.8124, allocations: 0 / 0.9475 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of Templates: time 0.3154/1.128, allocations: 31.28 MB / 0.978 GB, free: 237.6 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1)