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.001255/0.001255, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.383/1.383, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002127/0.002126, allocations: 279 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9693/0.9693, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 94.34 kB / 0.5952 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1961, allocations: 86.99 MB / 0.6802 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.5542/0.7504, allocations: 167.2 MB / 0.8435 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02405/0.7745, allocations: 17.22 MB / 0.8603 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002306/0.7769, allocations: 32.03 kB / 0.8603 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001856/0.7788, allocations: 0.5337 MB / 0.8608 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005652/0.7845, allocations: 1.682 MB / 0.8625 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003763/0.7882, allocations: 1.411 MB / 0.8638 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003545/0.7918, allocations: 2.671 MB / 0.8665 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002512/0.7943, allocations: 2.006 MB / 0.8684 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004043/0.7984, allocations: 1.385 MB / 0.8698 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001945/0.8003, allocations: 1.092 MB / 0.8708 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007106/0.801, allocations: 221 kB / 0.871 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003936/0.805, allocations: 1.521 MB / 0.8725 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0012/0.8062, allocations: 0.7958 MB / 0.8733 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002293/0.8085, allocations: 1.19 MB / 0.8745 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007259/0.8158, allocations: 3.472 MB / 0.8779 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.8158, allocations: 0 / 0.8779 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8158, allocations: 4 kB / 0.8779 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001736/0.816, allocations: 0 / 0.8779 GB, free: 9.262 MB / 0.5919 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.007118/0.8231, allocations: 2.736 MB / 0.8805 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.8232, allocations: 10.44 kB / 0.8805 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004032/0.8273, allocations: 0.5579 MB / 0.8811 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003863/0.8311, allocations: 1.597 MB / 0.8826 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002493/0.8314, allocations: 132.7 kB / 0.8828 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004419/0.8319, allocations: 168.6 kB / 0.8829 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004425/0.8363, allocations: 1.964 MB / 0.8849 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/0.8364, allocations: 0 / 0.8849 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001671/0.8365, allocations: 73.81 kB / 0.8849 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.164e-05/0.8366, allocations: 42.56 kB / 0.885 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003371/0.84, allocations: 2.116 MB / 0.887 GB, free: 3.473 MB / 0.5919 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.009826/0.8498, allocations: 5.883 MB / 0.8928 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003486/0.8533, allocations: 2.126 MB / 0.8949 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/0.8546, allocations: 0.7647 MB / 0.8956 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005872/0.8552, allocations: 433.6 kB / 0.896 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001686/0.8569, allocations: 1.021 MB / 0.897 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=146): time 3.096e-06/0.8569, allocations: 0 / 0.897 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of matching and sorting (n=146): time 0.006905/0.8638, allocations: 2.977 MB / 0.8999 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.8639, allocations: 197.2 kB / 0.9001 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002359/0.8663, allocations: 1.808 MB / 0.9019 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001872/0.8665, allocations: 57.7 kB / 0.9019 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006752/0.8672, allocations: 0.839 MB / 0.9027 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004229/0.8676, allocations: 488.9 kB / 0.9032 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003786/0.868, allocations: 258.8 kB / 0.9035 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.8681, allocations: 357.9 kB / 0.9038 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.8692, allocations: 0.5999 MB / 0.9044 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/0.8705, allocations: 0.8191 MB / 0.9052 GB, free: 204 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002384/0.8729, allocations: 1.36 MB / 0.9065 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.8729, allocations: 4 kB / 0.9065 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004037/0.877, allocations: 1.826 MB / 0.9083 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.877, allocations: 7.938 kB / 0.9083 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.877, allocations: 0 / 0.9083 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.8782, allocations: 216.2 kB / 0.9085 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/0.8798, allocations: 339.5 kB / 0.9088 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006427/0.8862, allocations: 7.323 MB / 0.916 GB, free: 4.379 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/0.888, allocations: 166.8 kB / 0.9161 GB, free: 4.215 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/0.8882, allocations: 60.02 kB / 0.9162 GB, free: 4.156 MB / 0.6231 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.001103/0.8893, allocations: 484.6 kB / 0.9167 GB, free: 3.672 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006593/0.89, allocations: 181.8 kB / 0.9168 GB, free: 3.492 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004962/0.8949, allocations: 2.152 MB / 0.9189 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.895, allocations: 16 kB / 0.919 GB, free: 1.297 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/0.895, allocations: 4 kB / 0.919 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/0.895, allocations: 7.969 kB / 0.919 GB, free: 1.285 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008628/0.9037, allocations: 4.016 MB / 0.9229 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.9037, allocations: 4 kB / 0.9229 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001512/0.9052, allocations: 323.5 kB / 0.9232 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009246/0.9062, allocations: 208.1 kB / 0.9234 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001205/0.9063, allocations: 39.97 kB / 0.9234 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006343/0.9126, allocations: 7.363 MB / 0.9306 GB, free: 4.547 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.9127, allocations: 3.938 kB / 0.9306 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004581/0.9173, allocations: 2.002 MB / 0.9326 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/0.9184, allocations: 478.2 kB / 0.933 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004313/0.9188, allocations: 36 kB / 0.9331 GB, free: 1.984 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/0.9204, allocations: 101.5 kB / 0.9332 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002601/0.9206, allocations: 117.2 kB / 0.9333 GB, free: 1.773 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001857/0.9208, allocations: 75.94 kB / 0.9334 GB, free: 1.699 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002094/0.9229, allocations: 1.289 MB / 0.9346 GB, free: 424 kB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9229, allocations: 0 / 0.9346 GB, free: 424 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002109/0.9251, allocations: 0.6548 MB / 0.9353 GB, free: 15.75 MB / 0.6544 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.001953/0.927, allocations: 0.7516 MB / 0.936 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005646/0.9327, allocations: 2.543 MB / 0.9385 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/0.9327, allocations: 4.547 kB / 0.9385 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002203/0.9349, allocations: 1.43 MB / 0.9399 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002912/0.9378, allocations: 0.5297 MB / 0.9404 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008318/0.9462, allocations: 3.984 MB / 0.9443 GB, free: 6.559 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001578/0.9478, allocations: 1.533 MB / 0.9458 GB, free: 4.996 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002253/0.95, allocations: 0.4928 MB / 0.9463 GB, free: 4.496 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005955/0.9506, allocations: 183.3 kB / 0.9464 GB, free: 4.316 MB / 0.6544 GB Notification: Performance of SimCode: time 5.81e-07/0.9506, allocations: 0 / 0.9464 GB, free: 4.316 MB / 0.6544 GB Notification: Performance of Templates: time 0.05472/1.005, allocations: 31.29 MB / 0.977 GB, free: 5.379 MB / 0.6856 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)