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.001498/0.001498, 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.001847/0.001846, allocations: 191.1 kB / 16.25 MB, free: 6.629 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.409/1.409, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002206/0.002206, allocations: 278.9 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9309/0.9309, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 92.95 kB / 0.5947 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2046, allocations: 86.99 MB / 0.6796 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.5335/0.7381, allocations: 151.8 MB / 0.8279 GB, free: 440 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01206/0.7502, allocations: 10.39 MB / 0.838 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00168/0.7519, allocations: 17.38 kB / 0.8381 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.753, allocations: 220.5 kB / 0.8383 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003021/0.756, allocations: 0.8337 MB / 0.8391 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002602/0.7586, allocations: 0.9689 MB / 0.84 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001948/0.7606, allocations: 1.636 MB / 0.8416 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001534/0.7621, allocations: 1.183 MB / 0.8428 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002096/0.7643, allocations: 0.7049 MB / 0.8435 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007904/0.7651, allocations: 0.617 MB / 0.8441 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001821/0.7652, allocations: 135 kB / 0.8442 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0022/0.7675, allocations: 1.016 MB / 0.8452 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003389/0.7678, allocations: 383.4 kB / 0.8456 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006159/0.7684, allocations: 0.6528 MB / 0.8462 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002896/0.7713, allocations: 2.16 MB / 0.8483 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.7714, allocations: 0 / 0.8483 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7714, allocations: 0 / 0.8483 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.617e-05/0.7714, allocations: 0 / 0.8483 GB, free: 10.75 MB / 0.5762 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.002891/0.7743, allocations: 1.701 MB / 0.85 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.7743, allocations: 10.31 kB / 0.85 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001609/0.7759, allocations: 267.6 kB / 0.8502 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.7771, allocations: 0.8731 MB / 0.8511 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.204e-05/0.7772, allocations: 78.12 kB / 0.8512 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/0.7773, allocations: 93.59 kB / 0.8513 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/0.7794, allocations: 1.105 MB / 0.8523 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.7794, allocations: 2.469 kB / 0.8523 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.517e-05/0.7795, allocations: 41.97 kB / 0.8524 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.7795, allocations: 26.72 kB / 0.8524 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002089/0.7816, allocations: 1.315 MB / 0.8537 GB, free: 7.227 MB / 0.5762 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.004812/0.7865, allocations: 3.231 MB / 0.8568 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/0.7883, allocations: 1.099 MB / 0.8579 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007164/0.7891, allocations: 426.4 kB / 0.8583 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002317/0.7893, allocations: 136.8 kB / 0.8584 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001116/0.7904, allocations: 0.6323 MB / 0.8591 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=95): time 2.895e-06/0.7904, allocations: 0 / 0.8591 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95): time 0.004134/0.7946, allocations: 1.626 MB / 0.8607 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.7947, allocations: 195.2 kB / 0.8608 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009842/0.7957, allocations: 0.8041 MB / 0.8616 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.479e-05/0.7958, allocations: 49.05 kB / 0.8617 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003677/0.7962, allocations: 458.8 kB / 0.8621 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002505/0.7964, allocations: 309.8 kB / 0.8624 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002795/0.7967, allocations: 191.1 kB / 0.8626 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.7969, allocations: 337.3 kB / 0.8629 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007136/0.7976, allocations: 355 kB / 0.8632 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008142/0.7984, allocations: 480.1 kB / 0.8637 GB, free: 288 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.7999, allocations: 0.7883 MB / 0.8645 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.7999, allocations: 0 / 0.8645 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002475/0.8024, allocations: 1.091 MB / 0.8655 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.8024, allocations: 4.781 kB / 0.8655 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.8024, allocations: 2.094 kB / 0.8655 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007544/0.8032, allocations: 119.5 kB / 0.8657 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008965/0.8041, allocations: 205.7 kB / 0.8659 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003118/0.8072, allocations: 3.068 MB / 0.8689 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000975/0.8082, allocations: 117.9 kB / 0.869 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.685e-05/0.8083, allocations: 42.97 kB / 0.869 GB, free: 12.04 MB / 0.5919 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.000515/0.8088, allocations: 312.3 kB / 0.8693 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002176/0.8091, allocations: 102.6 kB / 0.8694 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002949/0.812, allocations: 1.319 MB / 0.8707 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.812, allocations: 10.19 kB / 0.8707 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.8121, allocations: 4 kB / 0.8707 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.8121, allocations: 7.969 kB / 0.8707 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004105/0.8162, allocations: 2.426 MB / 0.8731 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.8162, allocations: 0 / 0.8731 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008215/0.817, allocations: 192.5 kB / 0.8733 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000583/0.8176, allocations: 104.6 kB / 0.8734 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.815e-05/0.8177, allocations: 41.22 kB / 0.8734 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002868/0.8206, allocations: 3.087 MB / 0.8764 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.8206, allocations: 0 / 0.8764 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002526/0.8232, allocations: 1.23 MB / 0.8776 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004645/0.8236, allocations: 320.1 kB / 0.8779 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.8238, allocations: 21.28 kB / 0.8779 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008729/0.8247, allocations: 76.16 kB / 0.878 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/0.8249, allocations: 82.86 kB / 0.8781 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.825, allocations: 47.22 kB / 0.8781 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007245/0.8257, allocations: 0.5695 MB / 0.8787 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8257, allocations: 0 / 0.8787 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001158/0.8269, allocations: 449 kB / 0.8791 GB, free: 4.723 MB / 0.5919 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.001731/0.8286, allocations: 0.7203 MB / 0.8798 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003142/0.8318, allocations: 1.377 MB / 0.8812 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/0.8318, allocations: 8 kB / 0.8812 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001288/0.8331, allocations: 0.741 MB / 0.8819 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/0.8347, allocations: 345.3 kB / 0.8822 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004921/0.8396, allocations: 2.62 MB / 0.8848 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007655/0.8404, allocations: 1.107 MB / 0.8859 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00118/0.8416, allocations: 311.6 kB / 0.8862 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003264/0.8419, allocations: 123.4 kB / 0.8863 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.8419, allocations: 0 / 0.8863 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of Templates: time 0.03297/0.8749, allocations: 19.45 MB / 0.9053 GB, free: 10.38 MB / 0.6231 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)