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.001039/0.001039, allocations: 111 kB / 16.37 MB, free: 6.012 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.001102/0.001102, allocations: 190.1 kB / 17.31 MB, free: 5.613 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.236/1.236, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002004/0.002004, allocations: 272.8 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9037/0.9037, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 98.91 kB / 0.5967 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1535, allocations: 86.97 MB / 0.6816 GB, free: 7.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.4458/0.5993, allocations: 167.2 MB / 0.8449 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01888/0.6182, allocations: 17.22 MB / 0.8617 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001278/0.6195, allocations: 31.81 kB / 0.8617 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001406/0.621, allocations: 0.5352 MB / 0.8623 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004039/0.6251, allocations: 1.681 MB / 0.8639 GB, free: 3.789 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00301/0.6281, allocations: 1.43 MB / 0.8653 GB, free: 2.371 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002591/0.6307, allocations: 2.685 MB / 0.8679 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002089/0.6328, allocations: 2.003 MB / 0.8699 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002981/0.6358, allocations: 1.397 MB / 0.8712 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.6369, allocations: 1.089 MB / 0.8723 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002645/0.6372, allocations: 224 kB / 0.8725 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002635/0.6398, allocations: 1.56 MB / 0.874 GB, free: 9.406 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006087/0.6404, allocations: 0.7946 MB / 0.8748 GB, free: 8.609 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009982/0.6414, allocations: 1.181 MB / 0.876 GB, free: 7.422 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003846/0.6453, allocations: 3.54 MB / 0.8794 GB, free: 3.871 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6453, allocations: 0 / 0.8794 GB, free: 3.871 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6453, allocations: 0 / 0.8794 GB, free: 3.871 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.644e-05/0.6453, allocations: 0 / 0.8794 GB, free: 3.871 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.004092/0.6494, allocations: 2.744 MB / 0.8821 GB, free: 1.066 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.6495, allocations: 8.031 kB / 0.8821 GB, free: 1.059 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003414/0.6529, allocations: 0.559 MB / 0.8827 GB, free: 0.4961 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002321/0.6552, allocations: 1.631 MB / 0.8842 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-05/0.6553, allocations: 135.4 kB / 0.8844 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000202/0.6556, allocations: 168 kB / 0.8845 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002936/0.6585, allocations: 1.964 MB / 0.8865 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/0.6585, allocations: 0 / 0.8865 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/0.6587, allocations: 76 kB / 0.8865 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.892e-05/0.6587, allocations: 40 kB / 0.8866 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003276/0.662, allocations: 2.117 MB / 0.8886 GB, free: 10.27 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.008251/0.6703, allocations: 5.802 MB / 0.8943 GB, free: 4.203 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003041/0.6733, allocations: 2.129 MB / 0.8964 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00121/0.6746, allocations: 0.7686 MB / 0.8971 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005468/0.6751, allocations: 425.6 kB / 0.8975 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001615/0.6767, allocations: 1.025 MB / 0.8985 GB, free: 15.69 MB / 0.67 GB Notification: Performance of pre-optimization done (n=146): time 2.866e-06/0.6768, allocations: 0 / 0.8985 GB, free: 15.69 MB / 0.67 GB Notification: Performance of matching and sorting (n=146): time 0.006278/0.683, allocations: 2.981 MB / 0.9014 GB, free: 12.6 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.252e-05/0.6832, allocations: 197.2 kB / 0.9016 GB, free: 12.36 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002152/0.6853, allocations: 1.812 MB / 0.9034 GB, free: 10.54 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000167/0.6855, allocations: 53.7 kB / 0.9035 GB, free: 10.48 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006613/0.6862, allocations: 0.8429 MB / 0.9043 GB, free: 9.625 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003722/0.6865, allocations: 484.9 kB / 0.9047 GB, free: 9.145 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003823/0.6869, allocations: 254.8 kB / 0.905 GB, free: 8.891 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.6871, allocations: 357.9 kB / 0.9053 GB, free: 8.535 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.6881, allocations: 0.6038 MB / 0.9059 GB, free: 7.93 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.6894, allocations: 0.813 MB / 0.9067 GB, free: 7.066 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002248/0.6916, allocations: 1.36 MB / 0.908 GB, free: 5.691 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.6916, allocations: 0 / 0.908 GB, free: 5.691 MB / 0.67 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003664/0.6953, allocations: 1.834 MB / 0.9098 GB, free: 3.832 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.6953, allocations: 16 kB / 0.9098 GB, free: 3.816 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.6954, allocations: 0 / 0.9098 GB, free: 3.816 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009798/0.6963, allocations: 208.1 kB / 0.91 GB, free: 3.598 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/0.6978, allocations: 343.5 kB / 0.9104 GB, free: 3.262 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0054/0.7033, allocations: 7.315 MB / 0.9175 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.7048, allocations: 170.8 kB / 0.9177 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.7049, allocations: 55.97 kB / 0.9177 GB, free: 11.03 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.0008781/0.7058, allocations: 487.2 kB / 0.9182 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003147/0.7061, allocations: 181.8 kB / 0.9184 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00416/0.7103, allocations: 2.137 MB / 0.9205 GB, free: 8.199 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.7103, allocations: 16 kB / 0.9205 GB, free: 8.184 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.7103, allocations: 7.984 kB / 0.9205 GB, free: 8.176 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.7104, allocations: 3.984 kB / 0.9205 GB, free: 8.172 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006321/0.7167, allocations: 4.014 MB / 0.9244 GB, free: 4.078 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.7167, allocations: 11.94 kB / 0.9244 GB, free: 4.066 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001437/0.7182, allocations: 323.5 kB / 0.9247 GB, free: 3.75 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008385/0.719, allocations: 208.1 kB / 0.9249 GB, free: 3.531 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.823e-05/0.7191, allocations: 39.97 kB / 0.925 GB, free: 3.492 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005298/0.7244, allocations: 7.357 MB / 0.9321 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.7245, allocations: 8 kB / 0.9321 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004227/0.7287, allocations: 2.004 MB / 0.9341 GB, free: 9.379 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008694/0.7296, allocations: 470.3 kB / 0.9346 GB, free: 8.898 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002111/0.7298, allocations: 35.98 kB / 0.9346 GB, free: 8.863 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/0.7309, allocations: 109.7 kB / 0.9347 GB, free: 8.762 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002159/0.7312, allocations: 109.2 kB / 0.9348 GB, free: 8.656 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/0.7313, allocations: 79.94 kB / 0.9349 GB, free: 8.578 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001478/0.7328, allocations: 1.289 MB / 0.9361 GB, free: 7.293 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7328, allocations: 0 / 0.9361 GB, free: 7.293 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001464/0.7343, allocations: 0.6664 MB / 0.9368 GB, free: 6.625 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.001556/0.7359, allocations: 0.7458 MB / 0.9375 GB, free: 6.059 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003184/0.739, allocations: 2.105 MB / 0.9396 GB, free: 3.887 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/0.7391, allocations: 8.547 kB / 0.9396 GB, free: 3.875 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001869/0.7409, allocations: 1.418 MB / 0.941 GB, free: 2.395 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/0.7429, allocations: 0.5306 MB / 0.9415 GB, free: 1.891 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006456/0.7493, allocations: 3.944 MB / 0.9453 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/0.7504, allocations: 1.537 MB / 0.9468 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001397/0.7518, allocations: 0.489 MB / 0.9473 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004458/0.7522, allocations: 179.3 kB / 0.9475 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.7522, allocations: 0 / 0.9475 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of Templates: time 0.3244/1.077, 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1)