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.001363/0.001363, allocations: 106.8 kB / 15.98 MB, free: 6.355 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.00161/0.00161, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.271/1.271, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002187/0.002187, allocations: 289.8 kB / 291 MB, free: 14.71 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8971/0.8971, allocations: 169.2 MB / 0.4985 GB, free: 4.742 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 92.77 kB / 0.5953 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1708, allocations: 86.97 MB / 0.6803 GB, free: 8.574 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData): time 0.4672/0.638, allocations: 164.9 MB / 0.8413 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01872/0.6568, allocations: 17.02 MB / 0.8579 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001359/0.6582, allocations: 27.81 kB / 0.8579 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.6595, allocations: 465.2 kB / 0.8584 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004151/0.6637, allocations: 1.538 MB / 0.8599 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003108/0.6668, allocations: 1.292 MB / 0.8611 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002608/0.6694, allocations: 2.657 MB / 0.8637 GB, free: 3.5 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002148/0.6716, allocations: 2.003 MB / 0.8657 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004523/0.6761, allocations: 1.402 MB / 0.867 GB, free: 104 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001195/0.6773, allocations: 1.116 MB / 0.8681 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002626/0.6776, allocations: 224 kB / 0.8684 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002558/0.6801, allocations: 1.556 MB / 0.8699 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005893/0.6807, allocations: 0.7907 MB / 0.8706 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009447/0.6817, allocations: 1.17 MB / 0.8718 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002706/0.6844, allocations: 2.651 MB / 0.8744 GB, free: 8.578 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.6844, allocations: 0 / 0.8744 GB, free: 8.578 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.986e-06/0.6844, allocations: 4 kB / 0.8744 GB, free: 8.574 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.115e-05/0.6845, allocations: 0 / 0.8744 GB, free: 8.574 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.003983/0.6885, allocations: 2.722 MB / 0.877 GB, free: 5.785 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.6885, allocations: 8.031 kB / 0.877 GB, free: 5.777 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003504/0.692, allocations: 0.5598 MB / 0.8776 GB, free: 5.215 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/0.6941, allocations: 1.596 MB / 0.8791 GB, free: 3.566 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.6943, allocations: 127.4 kB / 0.8793 GB, free: 3.441 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002281/0.6945, allocations: 168 kB / 0.8794 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003222/0.6977, allocations: 1.936 MB / 0.8813 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.076e-05/0.6978, allocations: 0 / 0.8813 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001659/0.698, allocations: 80 kB / 0.8814 GB, free: 1.211 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.172e-05/0.698, allocations: 40 kB / 0.8814 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003263/0.7013, allocations: 2.093 MB / 0.8835 GB, free: 15.07 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.008359/0.7096, allocations: 5.693 MB / 0.889 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003089/0.7127, allocations: 2.105 MB / 0.8911 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/0.7139, allocations: 0.7651 MB / 0.8918 GB, free: 6.184 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005675/0.7145, allocations: 429.6 kB / 0.8923 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001623/0.7161, allocations: 1.001 MB / 0.8932 GB, free: 4.668 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=146): time 3.096e-06/0.7161, allocations: 0 / 0.8932 GB, free: 4.668 MB / 0.6544 GB Notification: Performance of matching and sorting (n=146): time 0.006421/0.7226, allocations: 2.95 MB / 0.8961 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.7227, allocations: 201.2 kB / 0.8963 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002201/0.7249, allocations: 1.784 MB / 0.898 GB, free: 15.57 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001452/0.7251, allocations: 53.7 kB / 0.8981 GB, free: 15.51 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007137/0.7258, allocations: 0.8349 MB / 0.8989 GB, free: 14.66 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003988/0.7262, allocations: 492.9 kB / 0.8994 GB, free: 14.18 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004008/0.7266, allocations: 254.8 kB / 0.8996 GB, free: 13.92 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.7268, allocations: 361.8 kB / 0.9 GB, free: 13.56 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.7278, allocations: 0.5882 MB / 0.9005 GB, free: 12.97 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/0.729, allocations: 0.7975 MB / 0.9013 GB, free: 12.12 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002197/0.7313, allocations: 1.337 MB / 0.9026 GB, free: 10.77 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.7313, allocations: 0 / 0.9026 GB, free: 10.77 MB / 0.67 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003714/0.735, allocations: 1.807 MB / 0.9044 GB, free: 8.941 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.735, allocations: 8 kB / 0.9044 GB, free: 8.934 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.735, allocations: 3.938 kB / 0.9044 GB, free: 8.93 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/0.7361, allocations: 216.2 kB / 0.9046 GB, free: 8.703 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.7376, allocations: 335.5 kB / 0.9049 GB, free: 8.375 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005829/0.7434, allocations: 7.3 MB / 0.9121 GB, free: 376 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/0.7451, allocations: 175 kB / 0.9122 GB, free: 200 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.7452, allocations: 63.88 kB / 0.9123 GB, free: 136 kB / 0.67 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.000924/0.7461, allocations: 487.3 kB / 0.9128 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003301/0.7465, allocations: 181.8 kB / 0.9129 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004113/0.7506, allocations: 2.125 MB / 0.915 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.7506, allocations: 16 kB / 0.915 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.7506, allocations: 3.984 kB / 0.915 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.7506, allocations: 7.922 kB / 0.915 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006093/0.7567, allocations: 3.987 MB / 0.9189 GB, free: 9.223 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.7568, allocations: 0 / 0.9189 GB, free: 9.223 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001411/0.7582, allocations: 319.5 kB / 0.9192 GB, free: 8.91 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008411/0.759, allocations: 212.1 kB / 0.9194 GB, free: 8.688 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.722e-05/0.7591, allocations: 43.95 kB / 0.9195 GB, free: 8.645 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005284/0.7644, allocations: 7.349 MB / 0.9266 GB, free: 0.5898 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.7644, allocations: 0 / 0.9266 GB, free: 0.5898 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003868/0.7683, allocations: 1.998 MB / 0.9286 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007223/0.769, allocations: 466.4 kB / 0.929 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002115/0.7693, allocations: 31.98 kB / 0.9291 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.7705, allocations: 127.8 kB / 0.9292 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002336/0.7708, allocations: 113.2 kB / 0.9293 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001398/0.7709, allocations: 71.94 kB / 0.9294 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001498/0.7724, allocations: 1.281 MB / 0.9306 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.254e-06/0.7724, allocations: 0 / 0.9306 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001574/0.774, allocations: 0.6586 MB / 0.9313 GB, free: 11.8 MB / 0.7012 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.001664/0.7757, allocations: 0.7499 MB / 0.932 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004919/0.7806, allocations: 2.519 MB / 0.9345 GB, free: 8.652 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.7806, allocations: 0.5625 kB / 0.9345 GB, free: 8.652 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001919/0.7826, allocations: 1.418 MB / 0.9358 GB, free: 7.172 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/0.7848, allocations: 0.5195 MB / 0.9363 GB, free: 6.676 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00691/0.7918, allocations: 4.593 MB / 0.9408 GB, free: 2.055 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009849/0.7928, allocations: 1.497 MB / 0.9423 GB, free: 0.5273 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006423/0.7934, allocations: 199.3 kB / 0.9425 GB, free: 340 kB / 0.7012 GB Notification: Performance of SimCode: time 7.11e-07/0.7934, allocations: 0 / 0.9425 GB, free: 340 kB / 0.7012 GB Notification: Performance of Templates: time 0.3529/1.146, allocations: 66.55 MB / 1.007 GB, free: 218.1 MB / 0.7169 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)