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.001029/0.001029, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.000848/0.000848, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 223.3 MB / 240 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001754/0.001754, allocations: 266.5 kB / 291.3 MB, free: 1.801 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9474/0.9474, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004141/0.0004141, allocations: 16.8 kB / 0.598 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1397, allocations: 88.55 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.4399/0.5797, allocations: 151.7 MB / 0.8327 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02001/0.5998, allocations: 15.96 MB / 0.8483 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001253/0.6011, allocations: 27.75 kB / 0.8483 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.6022, allocations: 384.4 kB / 0.8487 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003683/0.6059, allocations: 1.324 MB / 0.8499 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002986/0.6089, allocations: 1.109 MB / 0.851 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002756/0.6117, allocations: 2.576 MB / 0.8535 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001861/0.6135, allocations: 1.502 MB / 0.855 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.6152, allocations: 1.007 MB / 0.856 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009913/0.6162, allocations: 0.8561 MB / 0.8568 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001458/0.6164, allocations: 52.53 kB / 0.8569 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002228/0.6186, allocations: 1.013 MB / 0.8579 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005174/0.6192, allocations: 0.5813 MB / 0.8584 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003934/0.6196, allocations: 403.2 kB / 0.8588 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002556/0.6221, allocations: 2.533 MB / 0.8613 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.6221, allocations: 0 / 0.8613 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6221, allocations: 0 / 0.8613 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.066e-05/0.6222, allocations: 0 / 0.8613 GB, free: 7.48 MB / 0.5762 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.003734/0.6259, allocations: 2.327 MB / 0.8636 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.626, allocations: 10.84 kB / 0.8636 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003333/0.6293, allocations: 0.5608 MB / 0.8641 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00213/0.6315, allocations: 1.534 MB / 0.8656 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-05/0.6316, allocations: 128 kB / 0.8658 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001964/0.6318, allocations: 172.2 kB / 0.8659 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003112/0.6349, allocations: 1.951 MB / 0.8678 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.6349, allocations: 2.938 kB / 0.8678 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001518/0.6351, allocations: 72.72 kB / 0.8679 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.579e-05/0.6351, allocations: 41.5 kB / 0.8679 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003224/0.6383, allocations: 2.124 MB / 0.87 GB, free: 2.156 MB / 0.5762 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.008262/0.6466, allocations: 5.902 MB / 0.8758 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003177/0.6498, allocations: 2.131 MB / 0.8779 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/0.6511, allocations: 0.7725 MB / 0.8786 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005573/0.6516, allocations: 445.6 kB / 0.879 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001691/0.6533, allocations: 1.011 MB / 0.88 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=146): time 2.785e-06/0.6534, allocations: 4 kB / 0.88 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of matching and sorting (n=146): time 0.006379/0.6598, allocations: 3.012 MB / 0.883 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.6599, allocations: 197.2 kB / 0.8832 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002243/0.6621, allocations: 1.793 MB / 0.8849 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.6623, allocations: 57.64 kB / 0.885 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006766/0.6629, allocations: 0.8429 MB / 0.8858 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003858/0.6633, allocations: 488.9 kB / 0.8862 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-05/0.6634, allocations: 32 kB / 0.8863 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.6636, allocations: 353.9 kB / 0.8866 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.6647, allocations: 0.6117 MB / 0.8872 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/0.666, allocations: 0.8092 MB / 0.888 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.6672, allocations: 0.6818 MB / 0.8887 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.6672, allocations: 0 / 0.8887 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003658/0.6709, allocations: 1.846 MB / 0.8905 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.6709, allocations: 5.875 kB / 0.8905 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.671, allocations: 4 kB / 0.8905 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009547/0.6719, allocations: 217 kB / 0.8907 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/0.6734, allocations: 343.6 kB / 0.891 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005471/0.6789, allocations: 6.806 MB / 0.8977 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.6805, allocations: 192.5 kB / 0.8978 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.6806, allocations: 63.89 kB / 0.8979 GB, free: 4.199 MB / 0.6075 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009201/0.6815, allocations: 488.3 kB / 0.8984 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002914/0.6818, allocations: 177.8 kB / 0.8985 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004385/0.6862, allocations: 2.171 MB / 0.9007 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.6863, allocations: 19.95 kB / 0.9007 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.6863, allocations: 4 kB / 0.9007 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-05/0.6863, allocations: 7.969 kB / 0.9007 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006308/0.6926, allocations: 4.014 MB / 0.9046 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.6926, allocations: 4 kB / 0.9046 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001449/0.6941, allocations: 331.5 kB / 0.9049 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008575/0.695, allocations: 208.1 kB / 0.9051 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.444e-05/0.6951, allocations: 43.97 kB / 0.9052 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005293/0.7004, allocations: 6.835 MB / 0.9118 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.7004, allocations: 11.95 kB / 0.9119 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003875/0.7043, allocations: 2.018 MB / 0.9138 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008295/0.7051, allocations: 494.1 kB / 0.9143 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002193/0.7053, allocations: 32 kB / 0.9143 GB, free: 2.516 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/0.7066, allocations: 155.7 kB / 0.9145 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002078/0.7068, allocations: 113.1 kB / 0.9146 GB, free: 2.258 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000144/0.7069, allocations: 71.94 kB / 0.9147 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00165/0.7086, allocations: 1.278 MB / 0.9159 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7086, allocations: 0 / 0.9159 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001682/0.7103, allocations: 0.6625 MB / 0.9165 GB, free: 256 kB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001706/0.712, allocations: 0.7576 MB / 0.9173 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003347/0.7154, allocations: 2.117 MB / 0.9194 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/0.7154, allocations: 8.547 kB / 0.9194 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001957/0.7174, allocations: 1.426 MB / 0.9208 GB, free: 12 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002067/0.7194, allocations: 491.4 kB / 0.9212 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007557/0.727, allocations: 4.75 MB / 0.9259 GB, free: 6.746 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/0.7282, allocations: 1.533 MB / 0.9274 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001865/0.73, allocations: 0.4928 MB / 0.9278 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004816/0.7305, allocations: 183.3 kB / 0.928 GB, free: 4.504 MB / 0.6387 GB Notification: Performance of SimCode: time 7.62e-07/0.7305, allocations: 0 / 0.928 GB, free: 4.504 MB / 0.6387 GB Notification: Performance of Templates: time 0.04719/0.7777, allocations: 28.91 MB / 0.9562 GB, free: 7.918 MB / 0.67 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)