Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside") translateModel(BuildingSystems.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 118.7 kB / 16.37 MB, free: 5.984 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.0009481/0.0009481, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.257/1.257, 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.002094/0.002094, allocations: 284.7 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8962/0.8962, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 90.61 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1537, allocations: 86.98 MB / 0.6816 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside): time 0.4524/0.6061, allocations: 176 MB / 0.8535 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01306/0.6192, allocations: 10.85 MB / 0.8641 GB, free: 3.57 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.6203, allocations: 31.81 kB / 0.8641 GB, free: 3.539 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.6215, allocations: 396.8 kB / 0.8645 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002837/0.6244, allocations: 1.046 MB / 0.8655 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003857/0.6283, allocations: 1.705 MB / 0.8672 GB, free: 416 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003035/0.6313, allocations: 2.295 MB / 0.8694 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002057/0.6334, allocations: 1.439 MB / 0.8708 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003149/0.6365, allocations: 1.256 MB / 0.8721 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.6377, allocations: 0.7935 MB / 0.8728 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002151/0.6379, allocations: 156 kB / 0.873 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002612/0.6405, allocations: 1.412 MB / 0.8744 GB, free: 9.031 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004212/0.641, allocations: 454.6 kB / 0.8748 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008019/0.6418, allocations: 0.7657 MB / 0.8755 GB, free: 7.816 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00378/0.6456, allocations: 2.559 MB / 0.878 GB, free: 5.25 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.6456, allocations: 0 / 0.878 GB, free: 5.25 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6456, allocations: 0 / 0.878 GB, free: 5.25 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.933e-05/0.6456, allocations: 0 / 0.878 GB, free: 5.25 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003069/0.6487, allocations: 1.874 MB / 0.8799 GB, free: 3.32 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.6487, allocations: 12.03 kB / 0.8799 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002058/0.6508, allocations: 349.9 kB / 0.8802 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/0.6525, allocations: 0.9914 MB / 0.8812 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.74e-05/0.6526, allocations: 86.33 kB / 0.8813 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/0.6528, allocations: 112 kB / 0.8814 GB, free: 1.73 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002113/0.6549, allocations: 1.298 MB / 0.8826 GB, free: 376 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.655, allocations: 4 kB / 0.8826 GB, free: 372 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.6551, allocations: 48 kB / 0.8827 GB, free: 324 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/0.6551, allocations: 28 kB / 0.8827 GB, free: 296 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002216/0.6573, allocations: 1.453 MB / 0.8841 GB, free: 14.82 MB / 0.6544 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.005948/0.6633, allocations: 3.822 MB / 0.8879 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00214/0.6654, allocations: 1.225 MB / 0.8891 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000726/0.6662, allocations: 457.6 kB / 0.8895 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007374/0.6669, allocations: 421.3 kB / 0.8899 GB, free: 8.668 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001098/0.668, allocations: 0.6606 MB / 0.8905 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=106): time 2.624e-06/0.6681, allocations: 0 / 0.8905 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of matching and sorting (n=106): time 0.003811/0.6719, allocations: 1.602 MB / 0.8921 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.926e-05/0.672, allocations: 196.9 kB / 0.8923 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.6731, allocations: 0.8862 MB / 0.8932 GB, free: 5.219 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-05/0.6732, allocations: 45.7 kB / 0.8932 GB, free: 5.168 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003989/0.6736, allocations: 0.516 MB / 0.8937 GB, free: 4.645 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002597/0.6739, allocations: 354.9 kB / 0.894 GB, free: 4.293 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003018/0.6742, allocations: 210.8 kB / 0.8942 GB, free: 4.078 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.6743, allocations: 345.9 kB / 0.8946 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006781/0.675, allocations: 382.4 kB / 0.8949 GB, free: 3.363 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000823/0.6759, allocations: 0.5085 MB / 0.8954 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/0.6773, allocations: 0.8718 MB / 0.8963 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.6774, allocations: 0 / 0.8963 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002386/0.6798, allocations: 1.168 MB / 0.8974 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.6798, allocations: 8.125 kB / 0.8974 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.6798, allocations: 4 kB / 0.8974 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005754/0.6804, allocations: 80.77 kB / 0.8975 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009769/0.6814, allocations: 240.5 kB / 0.8977 GB, free: 440 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/0.6835, allocations: 1.646 MB / 0.8994 GB, free: 14.64 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009037/0.6844, allocations: 129.4 kB / 0.8995 GB, free: 14.52 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.689e-05/0.6845, allocations: 47.97 kB / 0.8995 GB, free: 14.47 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (128): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00054/0.685, allocations: 319.3 kB / 0.8998 GB, free: 14.15 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002141/0.6853, allocations: 122.5 kB / 0.8999 GB, free: 14.03 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002947/0.6882, allocations: 1.497 MB / 0.9014 GB, free: 12.51 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.6882, allocations: 16 kB / 0.9014 GB, free: 12.49 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.6883, allocations: 0 / 0.9014 GB, free: 12.49 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.6883, allocations: 11.97 kB / 0.9014 GB, free: 12.48 MB / 0.67 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 postOpt removeSimpleEquations (simulation): time 0.004489/0.6928, allocations: 2.831 MB / 0.9042 GB, free: 9.535 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.6928, allocations: 8.188 kB / 0.9042 GB, free: 9.527 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008438/0.6936, allocations: 199.8 kB / 0.9044 GB, free: 9.332 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004124/0.6941, allocations: 76.72 kB / 0.9045 GB, free: 9.254 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.161e-05/0.6941, allocations: 43.91 kB / 0.9045 GB, free: 9.211 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001762/0.6959, allocations: 1.666 MB / 0.9061 GB, free: 7.402 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.6959, allocations: 4 kB / 0.9061 GB, free: 7.398 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003249/0.6992, allocations: 1.866 MB / 0.908 GB, free: 5.496 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005382/0.6997, allocations: 339.2 kB / 0.9083 GB, free: 5.145 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.6999, allocations: 24 kB / 0.9083 GB, free: 5.121 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008265/0.7007, allocations: 71.92 kB / 0.9084 GB, free: 5.051 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/0.7009, allocations: 96.75 kB / 0.9085 GB, free: 4.957 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.172e-05/0.701, allocations: 47.97 kB / 0.9085 GB, free: 4.91 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008105/0.7018, allocations: 0.6261 MB / 0.9091 GB, free: 4.273 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7018, allocations: 0 / 0.9091 GB, free: 4.273 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001092/0.7029, allocations: 455 kB / 0.9096 GB, free: 3.828 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001462/0.7044, allocations: 0.7155 MB / 0.9103 GB, free: 3.293 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002011/0.7064, allocations: 1.093 MB / 0.9113 GB, free: 2.188 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.7064, allocations: 4 kB / 0.9113 GB, free: 2.184 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.7075, allocations: 0.6723 MB / 0.912 GB, free: 1.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/0.7094, allocations: 0.4978 MB / 0.9125 GB, free: 1.027 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004519/0.714, allocations: 2.49 MB / 0.9149 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000662/0.7147, allocations: 1.165 MB / 0.916 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001143/0.7158, allocations: 381.6 kB / 0.9164 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003363/0.7162, allocations: 131.4 kB / 0.9165 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of SimCode: time 4.91e-07/0.7162, allocations: 0 / 0.9165 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of Templates: time 0.03591/0.7521, allocations: 23.41 MB / 0.9394 GB, free: 5.719 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe 2>&1)