Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.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.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 103.6 kB / 16.35 MB, free: 6.289 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.001639/0.001639, allocations: 191.6 kB / 17.29 MB, free: 5.863 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002067/0.002068, allocations: 282.3 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.9558/0.9558, allocations: 169.3 MB / 0.4989 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 98.31 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1637, allocations: 86.97 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.4705/0.6342, allocations: 154 MB / 0.832 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0136/0.6479, allocations: 10.51 MB / 0.8422 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.6489, allocations: 23.88 kB / 0.8423 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009135/0.6499, allocations: 261.8 kB / 0.8425 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002836/0.6527, allocations: 0.9301 MB / 0.8434 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002615/0.6554, allocations: 1.08 MB / 0.8445 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001808/0.6572, allocations: 1.636 MB / 0.8461 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.6586, allocations: 1.195 MB / 0.8472 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001604/0.6602, allocations: 0.7 MB / 0.8479 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006662/0.6609, allocations: 0.6029 MB / 0.8485 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001863/0.6611, allocations: 135.9 kB / 0.8486 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/0.6629, allocations: 1.038 MB / 0.8497 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003323/0.6633, allocations: 378.9 kB / 0.85 GB, free: 2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000573/0.6639, allocations: 0.6528 MB / 0.8507 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00248/0.6664, allocations: 2.193 MB / 0.8528 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.6664, allocations: 0 / 0.8528 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6664, allocations: 0 / 0.8528 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.37e-05/0.6664, allocations: 0 / 0.8528 GB, free: 15.14 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002855/0.6693, allocations: 1.696 MB / 0.8545 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.6693, allocations: 8.031 kB / 0.8545 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/0.6709, allocations: 270.1 kB / 0.8547 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.6721, allocations: 0.8941 MB / 0.8556 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.493e-05/0.6722, allocations: 77.92 kB / 0.8557 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.6723, allocations: 96 kB / 0.8558 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.6741, allocations: 1.106 MB / 0.8568 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.6741, allocations: 4 kB / 0.8568 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.113e-05/0.6742, allocations: 47.98 kB / 0.8569 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.778e-05/0.6743, allocations: 20 kB / 0.8569 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002063/0.6763, allocations: 1.311 MB / 0.8582 GB, free: 9.48 MB / 0.6231 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.004679/0.681, allocations: 3.201 MB / 0.8613 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/0.6829, allocations: 1.102 MB / 0.8624 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007071/0.6836, allocations: 420.2 kB / 0.8628 GB, free: 4.633 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002389/0.6839, allocations: 138 kB / 0.8629 GB, free: 4.48 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/0.6849, allocations: 0.6254 MB / 0.8635 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=95): time 2.414e-06/0.685, allocations: 0 / 0.8635 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95): time 0.00391/0.6889, allocations: 1.631 MB / 0.8651 GB, free: 2.156 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.564e-05/0.689, allocations: 188.9 kB / 0.8653 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000959/0.69, allocations: 0.8057 MB / 0.8661 GB, free: 1.117 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.246e-05/0.6901, allocations: 45.7 kB / 0.8661 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003676/0.6904, allocations: 468.4 kB / 0.8666 GB, free: 0.6016 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002237/0.6907, allocations: 307.6 kB / 0.8669 GB, free: 304 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002737/0.6909, allocations: 182.5 kB / 0.867 GB, free: 116 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.6911, allocations: 341.9 kB / 0.8674 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006807/0.6918, allocations: 353.7 kB / 0.8677 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007988/0.6926, allocations: 486.8 kB / 0.8682 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.694, allocations: 0.789 MB / 0.8689 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.694, allocations: 4 kB / 0.869 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002471/0.6965, allocations: 1.087 MB / 0.87 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.6966, allocations: 4 kB / 0.87 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.6966, allocations: 0 / 0.87 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007016/0.6973, allocations: 113.7 kB / 0.8701 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009158/0.6982, allocations: 203.7 kB / 0.8703 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003224/0.7014, allocations: 3.068 MB / 0.8733 GB, free: 9.352 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009867/0.7024, allocations: 108.7 kB / 0.8734 GB, free: 9.246 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.7026, allocations: 43.97 kB / 0.8735 GB, free: 9.203 MB / 0.6387 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 (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005698/0.7032, allocations: 316.3 kB / 0.8738 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002528/0.7034, allocations: 102.8 kB / 0.8739 GB, free: 8.785 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00295/0.7064, allocations: 1.31 MB / 0.8751 GB, free: 7.461 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.258e-05/0.7064, allocations: 12 kB / 0.8752 GB, free: 7.449 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.7064, allocations: 4 kB / 0.8752 GB, free: 7.445 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.7064, allocations: 3.984 kB / 0.8752 GB, free: 7.441 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00422/0.7107, allocations: 2.442 MB / 0.8775 GB, free: 4.934 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.7107, allocations: 0 / 0.8775 GB, free: 4.934 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008079/0.7115, allocations: 187.8 kB / 0.8777 GB, free: 4.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005484/0.7121, allocations: 105.6 kB / 0.8778 GB, free: 4.641 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-05/0.7122, allocations: 35.86 kB / 0.8779 GB, free: 4.605 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002885/0.715, allocations: 3.084 MB / 0.8809 GB, free: 1.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.7151, allocations: 3.984 kB / 0.8809 GB, free: 1.227 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/0.7177, allocations: 1.241 MB / 0.8821 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000567/0.7182, allocations: 315.5 kB / 0.8824 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/0.7184, allocations: 20 kB / 0.8824 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000858/0.7193, allocations: 75.91 kB / 0.8825 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.7195, allocations: 84.89 kB / 0.8826 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/0.7196, allocations: 47.91 kB / 0.8826 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008346/0.7205, allocations: 0.5693 MB / 0.8832 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7205, allocations: 0 / 0.8832 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001299/0.7218, allocations: 439.2 kB / 0.8836 GB, free: 14.42 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001796/0.7236, allocations: 0.7126 MB / 0.8843 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002332/0.7259, allocations: 1.15 MB / 0.8854 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.7259, allocations: 0 / 0.8854 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001275/0.7272, allocations: 0.7372 MB / 0.8861 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.7287, allocations: 349.3 kB / 0.8865 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004442/0.7331, allocations: 2.109 MB / 0.8885 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006879/0.7338, allocations: 1.106 MB / 0.8896 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000997/0.7348, allocations: 315.6 kB / 0.8899 GB, free: 8.055 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003272/0.7352, allocations: 123.3 kB / 0.89 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of SimCode: time 5.21e-07/0.7352, allocations: 0 / 0.89 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of Templates: time 0.03103/0.7662, allocations: 19.61 MB / 0.9092 GB, free: 4.562 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)