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.001246/0.001246, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001517/0.001517, allocations: 189.7 kB / 16.25 MB, free: 6.637 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.398/1.398, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002102/0.002102, allocations: 279 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9516/0.9516, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 95.55 kB / 0.5947 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1776, allocations: 86.99 MB / 0.6796 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData): time 0.5811/0.7587, allocations: 164.9 MB / 0.8406 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02046/0.7792, allocations: 17.01 MB / 0.8572 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002246/0.7815, allocations: 29.06 kB / 0.8573 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001645/0.7832, allocations: 460.4 kB / 0.8577 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005102/0.7884, allocations: 1.542 MB / 0.8592 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003678/0.792, allocations: 1.292 MB / 0.8605 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002914/0.795, allocations: 2.662 MB / 0.8631 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002284/0.7973, allocations: 2.001 MB / 0.865 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004919/0.8022, allocations: 1.391 MB / 0.8664 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.8035, allocations: 1.119 MB / 0.8675 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002505/0.8038, allocations: 221.2 kB / 0.8677 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002885/0.8067, allocations: 1.554 MB / 0.8692 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006143/0.8073, allocations: 0.7923 MB / 0.87 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001118/0.8084, allocations: 1.179 MB / 0.8711 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004484/0.8129, allocations: 3.526 MB / 0.8746 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.8129, allocations: 0 / 0.8746 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.255e-06/0.8129, allocations: 0 / 0.8746 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.836e-05/0.813, allocations: 2.719 kB / 0.8746 GB, free: 12.01 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.00426/0.8172, allocations: 2.727 MB / 0.8772 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.8173, allocations: 9.375 kB / 0.8773 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003654/0.8209, allocations: 0.5549 MB / 0.8778 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002192/0.8232, allocations: 1.586 MB / 0.8793 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.811e-05/0.8233, allocations: 136.5 kB / 0.8795 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002092/0.8235, allocations: 165.2 kB / 0.8796 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003327/0.8268, allocations: 1.948 MB / 0.8815 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.301e-05/0.8269, allocations: 0 / 0.8815 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000168/0.827, allocations: 73.62 kB / 0.8816 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.982e-05/0.8271, allocations: 40.38 kB / 0.8816 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003372/0.8304, allocations: 2.091 MB / 0.8837 GB, free: 6.359 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.008663/0.8391, allocations: 5.689 MB / 0.8892 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003261/0.8424, allocations: 2.106 MB / 0.8913 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/0.8436, allocations: 0.7574 MB / 0.892 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005798/0.8442, allocations: 433.6 kB / 0.8925 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001731/0.846, allocations: 1.005 MB / 0.8934 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=146): time 5.64e-06/0.846, allocations: 3.984 kB / 0.8934 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of matching and sorting (n=146): time 0.006723/0.8527, allocations: 2.961 MB / 0.8963 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.8529, allocations: 197.2 kB / 0.8965 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002809/0.8557, allocations: 1.78 MB / 0.8983 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001848/0.8559, allocations: 61.7 kB / 0.8983 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007781/0.8567, allocations: 0.8311 MB / 0.8991 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004307/0.8571, allocations: 484.9 kB / 0.8996 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004283/0.8575, allocations: 258.7 kB / 0.8998 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.8577, allocations: 357.9 kB / 0.9002 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/0.8588, allocations: 0.5921 MB / 0.9008 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/0.8601, allocations: 0.8038 MB / 0.9015 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002364/0.8625, allocations: 1.333 MB / 0.9028 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.8625, allocations: 3.938 kB / 0.9028 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003924/0.8665, allocations: 1.799 MB / 0.9046 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.8665, allocations: 8.094 kB / 0.9046 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.8665, allocations: 3.938 kB / 0.9046 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/0.8676, allocations: 220 kB / 0.9048 GB, free: 432 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/0.8692, allocations: 331.5 kB / 0.9051 GB, free: 100 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006232/0.8754, allocations: 7.306 MB / 0.9123 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/0.8772, allocations: 174.9 kB / 0.9124 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/0.8774, allocations: 59.89 kB / 0.9125 GB, free: 7.852 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.001033/0.8784, allocations: 480.5 kB / 0.913 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005123/0.8789, allocations: 185.8 kB / 0.9131 GB, free: 7.188 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00455/0.8835, allocations: 2.132 MB / 0.9152 GB, free: 5.027 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.8835, allocations: 20 kB / 0.9152 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.8835, allocations: 7.984 kB / 0.9152 GB, free: 5 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.8836, allocations: 3.984 kB / 0.9152 GB, free: 4.996 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007056/0.8906, allocations: 3.983 MB / 0.9191 GB, free: 0.9336 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.8906, allocations: 0 / 0.9191 GB, free: 0.9336 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001488/0.8921, allocations: 319.6 kB / 0.9194 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008916/0.893, allocations: 212 kB / 0.9196 GB, free: 408 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/0.8932, allocations: 43.95 kB / 0.9197 GB, free: 364 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005942/0.8991, allocations: 7.355 MB / 0.9269 GB, free: 8.293 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.8991, allocations: 0 / 0.9269 GB, free: 8.293 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004157/0.9033, allocations: 1.99 MB / 0.9288 GB, free: 6.27 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/0.9044, allocations: 466.4 kB / 0.9293 GB, free: 5.793 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000431/0.9048, allocations: 35.92 kB / 0.9293 GB, free: 5.758 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001572/0.9064, allocations: 125 kB / 0.9294 GB, free: 5.641 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002514/0.9066, allocations: 117.1 kB / 0.9295 GB, free: 5.523 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001853/0.9068, allocations: 67.94 kB / 0.9296 GB, free: 5.457 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002031/0.9089, allocations: 1.285 MB / 0.9308 GB, free: 4.176 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9089, allocations: 0 / 0.9308 GB, free: 4.176 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002171/0.9111, allocations: 0.6508 MB / 0.9315 GB, free: 3.523 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.002651/0.9137, allocations: 0.765 MB / 0.9322 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006158/0.9199, allocations: 2.519 MB / 0.9347 GB, free: 364 kB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/0.9199, allocations: 4.562 kB / 0.9347 GB, free: 360 kB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002272/0.9222, allocations: 1.411 MB / 0.9361 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003284/0.9255, allocations: 0.5158 MB / 0.9366 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008886/0.9344, allocations: 4.713 MB / 0.9412 GB, free: 9.645 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001643/0.9361, allocations: 1.525 MB / 0.9427 GB, free: 8.086 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002435/0.9385, allocations: 496.6 kB / 0.9431 GB, free: 7.594 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006454/0.9392, allocations: 175.3 kB / 0.9433 GB, free: 7.422 MB / 0.6544 GB Notification: Performance of SimCode: time 9.32e-07/0.9392, allocations: 0 / 0.9433 GB, free: 7.422 MB / 0.6544 GB Notification: Performance of Templates: time 0.05487/0.9941, allocations: 30.92 MB / 0.9735 GB, free: 8.852 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)