Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData") translateModel(BuildingSystems.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001114/0.001114, allocations: 194.6 kB / 16.14 MB, free: 6.594 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.318/1.318, allocations: 222.9 MB / 239.8 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002015/0.002015, allocations: 278.4 kB / 290.2 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9236/0.9236, allocations: 169.2 MB / 0.4977 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 90.36 kB / 0.5945 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1641, allocations: 86.99 MB / 0.6794 GB, free: 1.152 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData): time 0.5553/0.7194, allocations: 164.8 MB / 0.8404 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0229/0.7423, allocations: 17.27 MB / 0.8573 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002331/0.7447, allocations: 28.69 kB / 0.8573 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002339/0.7471, allocations: 449.4 kB / 0.8577 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005969/0.7531, allocations: 1.499 MB / 0.8592 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003961/0.7571, allocations: 1.262 MB / 0.8604 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003581/0.7607, allocations: 2.891 MB / 0.8633 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003125/0.7638, allocations: 1.858 MB / 0.8651 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005657/0.7695, allocations: 1.241 MB / 0.8663 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001891/0.7714, allocations: 1.059 MB / 0.8673 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006344/0.7721, allocations: 118.2 kB / 0.8674 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003989/0.7761, allocations: 1.576 MB / 0.869 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001011/0.7771, allocations: 0.6884 MB / 0.8696 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002433/0.7795, allocations: 1.079 MB / 0.8707 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005128/0.7847, allocations: 3.432 MB / 0.874 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.7847, allocations: 3.938 kB / 0.874 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7847, allocations: 1.906 kB / 0.874 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.556e-05/0.7847, allocations: 0 / 0.874 GB, free: 12.14 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.004824/0.7896, allocations: 2.722 MB / 0.8767 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.7896, allocations: 11.48 kB / 0.8767 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003683/0.7933, allocations: 0.5537 MB / 0.8773 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002185/0.7955, allocations: 1.591 MB / 0.8788 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.474e-05/0.7956, allocations: 132.3 kB / 0.8789 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/0.7958, allocations: 171.2 kB / 0.8791 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003015/0.7988, allocations: 1.943 MB / 0.881 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.7989, allocations: 0 / 0.881 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001644/0.799, allocations: 73.91 kB / 0.8811 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/0.7991, allocations: 46.41 kB / 0.8811 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003089/0.8022, allocations: 2.088 MB / 0.8831 GB, free: 6.492 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.008077/0.8103, allocations: 5.694 MB / 0.8887 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003108/0.8134, allocations: 2.091 MB / 0.8908 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001164/0.8146, allocations: 0.7613 MB / 0.8915 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005582/0.8151, allocations: 433.6 kB / 0.8919 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001665/0.8168, allocations: 1.005 MB / 0.8929 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=146): time 4.488e-06/0.8168, allocations: 0 / 0.8929 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=146): time 0.006471/0.8233, allocations: 2.95 MB / 0.8958 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.8234, allocations: 201.2 kB / 0.896 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00216/0.8256, allocations: 1.784 MB / 0.8977 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001441/0.8257, allocations: 61.7 kB / 0.8978 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006555/0.8264, allocations: 0.8349 MB / 0.8986 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003747/0.8268, allocations: 492.8 kB / 0.899 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003824/0.8272, allocations: 258.8 kB / 0.8993 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.8273, allocations: 357.9 kB / 0.8996 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.8284, allocations: 0.5921 MB / 0.9002 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/0.8296, allocations: 0.7917 MB / 0.901 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002255/0.8319, allocations: 1.337 MB / 0.9023 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.8319, allocations: 0 / 0.9023 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.00367/0.8356, allocations: 1.807 MB / 0.9041 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.8356, allocations: 12.09 kB / 0.9041 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.8356, allocations: 3.938 kB / 0.9041 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/0.8367, allocations: 212.1 kB / 0.9043 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.8382, allocations: 331.6 kB / 0.9046 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0059/0.8441, allocations: 6.795 MB / 0.9112 GB, free: 9.059 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/0.8461, allocations: 181.6 kB / 0.9114 GB, free: 8.883 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/0.8462, allocations: 55.95 kB / 0.9115 GB, free: 8.828 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 (152): * Single equations (assignments): 147 * 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.001088/0.8473, allocations: 488.4 kB / 0.9119 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000429/0.8478, allocations: 177.8 kB / 0.9121 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004604/0.8524, allocations: 2.125 MB / 0.9142 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.8524, allocations: 20 kB / 0.9142 GB, free: 5.988 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.8524, allocations: 7.984 kB / 0.9142 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/0.8525, allocations: 7.969 kB / 0.9142 GB, free: 5.973 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007152/0.8596, allocations: 3.975 MB / 0.9181 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.8597, allocations: 0 / 0.9181 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001491/0.8612, allocations: 323.5 kB / 0.9184 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009741/0.8621, allocations: 216.1 kB / 0.9186 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/0.8622, allocations: 43.95 kB / 0.9186 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005642/0.8679, allocations: 6.843 MB / 0.9253 GB, free: 9.824 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.8679, allocations: 0 / 0.9253 GB, free: 9.824 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004239/0.8722, allocations: 1.986 MB / 0.9273 GB, free: 7.801 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009237/0.8731, allocations: 466.4 kB / 0.9277 GB, free: 7.324 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003063/0.8734, allocations: 31.98 kB / 0.9277 GB, free: 7.293 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/0.8747, allocations: 124.6 kB / 0.9279 GB, free: 7.172 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002585/0.8749, allocations: 109.1 kB / 0.928 GB, free: 7.062 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001443/0.8751, allocations: 75.95 kB / 0.928 GB, free: 6.988 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001729/0.8768, allocations: 1.281 MB / 0.9293 GB, free: 5.711 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8768, allocations: 0 / 0.9293 GB, free: 5.711 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002184/0.879, allocations: 0.6586 MB / 0.9299 GB, free: 5.051 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.001958/0.881, allocations: 0.7519 MB / 0.9307 GB, free: 4.484 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003662/0.8847, allocations: 2.09 MB / 0.9327 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.8847, allocations: 0.5625 kB / 0.9327 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002138/0.8869, allocations: 1.407 MB / 0.9341 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00248/0.8894, allocations: 0.494 MB / 0.9346 GB, free: 380 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007784/0.8972, allocations: 4.704 MB / 0.9392 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/0.8984, allocations: 1.525 MB / 0.9406 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002089/0.9005, allocations: 0.5005 MB / 0.9411 GB, free: 9.57 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004595/0.901, allocations: 171.4 kB / 0.9413 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of SimCode: time 6.92e-07/0.901, allocations: 0 / 0.9413 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of Templates: time 0.04865/0.9496, allocations: 29.87 MB / 0.9705 GB, free: 11.86 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)