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.001597/0.001597, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.002394/0.002394, allocations: 191.9 kB / 16.14 MB, free: 6.711 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.309/1.309, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002074/0.002074, allocations: 287.1 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.002/1.002, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 95.03 kB / 0.5945 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1789, allocations: 86.99 MB / 0.6794 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.4944/0.6733, allocations: 164.9 MB / 0.8405 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02008/0.6934, allocations: 17.28 MB / 0.8573 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002455/0.6959, allocations: 34.47 kB / 0.8574 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001847/0.6978, allocations: 446.3 kB / 0.8578 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00481/0.7027, allocations: 1.499 MB / 0.8593 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003248/0.7059, allocations: 1.264 MB / 0.8605 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003306/0.7092, allocations: 2.92 MB / 0.8633 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002092/0.7113, allocations: 1.851 MB / 0.8652 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004983/0.7163, allocations: 1.247 MB / 0.8664 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001238/0.7176, allocations: 1.067 MB / 0.8674 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002191/0.7178, allocations: 120.5 kB / 0.8675 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003333/0.7211, allocations: 1.576 MB / 0.8691 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006255/0.7218, allocations: 0.6978 MB / 0.8697 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001328/0.7231, allocations: 1.088 MB / 0.8708 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004506/0.7276, allocations: 3.435 MB / 0.8742 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.7277, allocations: 0 / 0.8742 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7277, allocations: 3.938 kB / 0.8742 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.933e-05/0.7277, allocations: 2.094 kB / 0.8742 GB, free: 12.16 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.00539/0.7331, allocations: 2.738 MB / 0.8768 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.7332, allocations: 10.09 kB / 0.8769 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003866/0.7371, allocations: 0.5541 MB / 0.8774 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002382/0.7395, allocations: 1.601 MB / 0.879 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.7396, allocations: 129.6 kB / 0.8791 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002068/0.7398, allocations: 175.2 kB / 0.8793 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003277/0.7431, allocations: 1.956 MB / 0.8812 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.7431, allocations: 0 / 0.8812 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000158/0.7433, allocations: 74.09 kB / 0.8812 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.708e-05/0.7433, allocations: 50.12 kB / 0.8813 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003357/0.7467, allocations: 2.111 MB / 0.8833 GB, free: 6.484 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.008759/0.7555, allocations: 5.868 MB / 0.8891 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003326/0.7588, allocations: 2.129 MB / 0.8912 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001307/0.7601, allocations: 0.7648 MB / 0.8919 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006023/0.7607, allocations: 437.6 kB / 0.8923 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001742/0.7625, allocations: 1.017 MB / 0.8933 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=146): time 3.175e-06/0.7625, allocations: 0 / 0.8933 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of matching and sorting (n=146): time 0.006896/0.7694, allocations: 2.977 MB / 0.8962 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.7696, allocations: 201.2 kB / 0.8964 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002555/0.7721, allocations: 1.808 MB / 0.8982 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001415/0.7723, allocations: 53.7 kB / 0.8982 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007101/0.773, allocations: 0.8351 MB / 0.899 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003817/0.7734, allocations: 488.8 kB / 0.8995 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003948/0.7738, allocations: 262.8 kB / 0.8998 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.7739, allocations: 357.9 kB / 0.9001 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/0.7751, allocations: 0.5999 MB / 0.9007 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/0.7764, allocations: 0.8208 MB / 0.9015 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00242/0.7789, allocations: 1.353 MB / 0.9028 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.7789, allocations: 4 kB / 0.9028 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003926/0.7828, allocations: 1.834 MB / 0.9046 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.7829, allocations: 7.938 kB / 0.9046 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.7829, allocations: 4 kB / 0.9046 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/0.7839, allocations: 212.2 kB / 0.9048 GB, free: 384 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/0.7856, allocations: 335.5 kB / 0.9051 GB, free: 48 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005794/0.7914, allocations: 6.807 MB / 0.9118 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002039/0.7934, allocations: 189.6 kB / 0.912 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002214/0.7937, allocations: 51.95 kB / 0.912 GB, free: 8.332 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.001282/0.795, allocations: 495.8 kB / 0.9125 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006768/0.7956, allocations: 181.8 kB / 0.9127 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004826/0.8005, allocations: 2.144 MB / 0.9148 GB, free: 5.48 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/0.8005, allocations: 16 kB / 0.9148 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.8005, allocations: 0 / 0.9148 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.842e-05/0.8006, allocations: 7.969 kB / 0.9148 GB, free: 5.457 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007318/0.8079, allocations: 4.02 MB / 0.9187 GB, free: 1.363 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.8079, allocations: 0 / 0.9187 GB, free: 1.363 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/0.8094, allocations: 319.6 kB / 0.919 GB, free: 1.051 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009411/0.8104, allocations: 212 kB / 0.9192 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.776e-05/0.8105, allocations: 43.91 kB / 0.9193 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005686/0.8162, allocations: 6.843 MB / 0.9259 GB, free: 9.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.8162, allocations: 0 / 0.9259 GB, free: 9.27 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00432/0.8205, allocations: 2.01 MB / 0.9279 GB, free: 7.223 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000965/0.8215, allocations: 470.3 kB / 0.9283 GB, free: 6.742 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002752/0.8218, allocations: 28 kB / 0.9284 GB, free: 6.715 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/0.8231, allocations: 133.9 kB / 0.9285 GB, free: 6.586 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000272/0.8234, allocations: 117.1 kB / 0.9286 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001697/0.8236, allocations: 75.89 kB / 0.9287 GB, free: 6.398 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001681/0.8253, allocations: 1.293 MB / 0.9299 GB, free: 5.109 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8253, allocations: 0 / 0.9299 GB, free: 5.109 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001734/0.827, allocations: 0.6548 MB / 0.9306 GB, free: 4.453 MB / 0.6387 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.001706/0.8288, allocations: 0.7599 MB / 0.9313 GB, free: 3.879 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003573/0.8323, allocations: 2.098 MB / 0.9334 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.8324, allocations: 4.547 kB / 0.9334 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002146/0.8345, allocations: 1.426 MB / 0.9348 GB, free: 224 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/0.8369, allocations: 0.4889 MB / 0.9353 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008171/0.8451, allocations: 4.831 MB / 0.94 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.8463, allocations: 1.529 MB / 0.9415 GB, free: 9.309 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001988/0.8483, allocations: 0.5005 MB / 0.942 GB, free: 8.801 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000498/0.8488, allocations: 171.3 kB / 0.9421 GB, free: 8.633 MB / 0.6544 GB Notification: Performance of SimCode: time 8.92e-07/0.8488, allocations: 4 kB / 0.9421 GB, free: 8.629 MB / 0.6544 GB Notification: Performance of Templates: time 0.05097/0.8998, allocations: 30.07 MB / 0.9715 GB, free: 10.9 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)