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.001081/0.001081, allocations: 110 kB / 16.37 MB, free: 6.469 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.001076/0.001076, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.242/1.242, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001999/0.001999, allocations: 281.8 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.8981/0.8981, allocations: 169.3 MB / 0.4989 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 97.19 kB / 0.5967 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.155, allocations: 86.96 MB / 0.6816 GB, free: 7.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.3961/0.5511, allocations: 154 MB / 0.832 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01351/0.5647, allocations: 10.51 MB / 0.8423 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.5658, allocations: 19.88 kB / 0.8423 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009856/0.5668, allocations: 265.8 kB / 0.8425 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002933/0.5698, allocations: 0.922 MB / 0.8434 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002605/0.5724, allocations: 1.078 MB / 0.8445 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001913/0.5743, allocations: 1.648 MB / 0.8461 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001548/0.5759, allocations: 1.18 MB / 0.8472 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001587/0.5775, allocations: 0.7018 MB / 0.8479 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007661/0.5783, allocations: 0.6146 MB / 0.8485 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002346/0.5785, allocations: 136 kB / 0.8487 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001757/0.5803, allocations: 1.03 MB / 0.8497 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003252/0.5806, allocations: 382.8 kB / 0.85 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006061/0.5812, allocations: 0.6529 MB / 0.8507 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002435/0.5837, allocations: 2.185 MB / 0.8528 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5837, allocations: 0 / 0.8528 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5837, allocations: 3.938 kB / 0.8528 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.793e-05/0.5837, allocations: 0 / 0.8528 GB, free: 15.21 MB / 0.6231 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.003014/0.5867, allocations: 1.696 MB / 0.8545 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.5868, allocations: 8.031 kB / 0.8545 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/0.5883, allocations: 270.1 kB / 0.8547 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.5896, allocations: 0.8979 MB / 0.8556 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.029e-05/0.5897, allocations: 77.94 kB / 0.8557 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.5898, allocations: 96 kB / 0.8558 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/0.5916, allocations: 1.106 MB / 0.8568 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.5916, allocations: 0 / 0.8568 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.169e-05/0.5917, allocations: 47.94 kB / 0.8569 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/0.5917, allocations: 24 kB / 0.8569 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002052/0.5938, allocations: 1.323 MB / 0.8582 GB, free: 9.535 MB / 0.6231 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.004532/0.5983, allocations: 3.198 MB / 0.8613 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/0.6001, allocations: 1.099 MB / 0.8624 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006857/0.6008, allocations: 416.4 kB / 0.8628 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002123/0.601, allocations: 138 kB / 0.8629 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009838/0.602, allocations: 0.622 MB / 0.8635 GB, free: 3.914 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=95): time 2.334e-06/0.6021, allocations: 0 / 0.8635 GB, free: 3.914 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95): time 0.003746/0.6058, allocations: 1.631 MB / 0.8651 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.492e-05/0.6059, allocations: 192.9 kB / 0.8653 GB, free: 2 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008873/0.6068, allocations: 0.8018 MB / 0.8661 GB, free: 1.191 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.509e-05/0.6069, allocations: 57.69 kB / 0.8662 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/0.6072, allocations: 456.5 kB / 0.8666 GB, free: 0.6758 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.6074, allocations: 311.5 kB / 0.8669 GB, free: 376 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002576/0.6077, allocations: 186.5 kB / 0.8671 GB, free: 184 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.6078, allocations: 338 kB / 0.8674 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006556/0.6085, allocations: 357.7 kB / 0.8677 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000761/0.6092, allocations: 477.6 kB / 0.8682 GB, free: 15 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.6106, allocations: 0.7921 MB / 0.869 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.6106, allocations: 3.938 kB / 0.869 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002426/0.613, allocations: 1.091 MB / 0.87 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.6131, allocations: 7.984 kB / 0.87 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.6131, allocations: 4 kB / 0.87 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007309/0.6138, allocations: 109.7 kB / 0.8701 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008829/0.6147, allocations: 211.7 kB / 0.8703 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002685/0.6174, allocations: 3.057 MB / 0.8733 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008386/0.6183, allocations: 121.7 kB / 0.8734 GB, free: 9.301 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.923e-05/0.6184, allocations: 39.97 kB / 0.8735 GB, free: 9.262 MB / 0.6387 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.0004759/0.6189, allocations: 307.2 kB / 0.8738 GB, free: 8.953 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/0.619, allocations: 98.78 kB / 0.8739 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002742/0.6218, allocations: 1.318 MB / 0.8752 GB, free: 7.523 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.6218, allocations: 12 kB / 0.8752 GB, free: 7.512 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6218, allocations: 0 / 0.8752 GB, free: 7.512 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.6218, allocations: 7.984 kB / 0.8752 GB, free: 7.504 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003967/0.6258, allocations: 2.431 MB / 0.8775 GB, free: 5.008 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.6258, allocations: 0 / 0.8775 GB, free: 5.008 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007968/0.6266, allocations: 191.7 kB / 0.8777 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005309/0.6272, allocations: 105.6 kB / 0.8778 GB, free: 4.711 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.351e-05/0.6272, allocations: 35.91 kB / 0.8779 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002807/0.6301, allocations: 3.084 MB / 0.8809 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.6301, allocations: 0 / 0.8809 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002588/0.6327, allocations: 1.233 MB / 0.8821 GB, free: 44 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005608/0.6333, allocations: 319.4 kB / 0.8824 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002138/0.6335, allocations: 20 kB / 0.8824 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008988/0.6344, allocations: 86.12 kB / 0.8825 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002131/0.6346, allocations: 76.89 kB / 0.8826 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/0.6347, allocations: 51.84 kB / 0.8826 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007887/0.6355, allocations: 0.5693 MB / 0.8832 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2e-07/0.6355, allocations: 0 / 0.8832 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001258/0.6368, allocations: 443.2 kB / 0.8836 GB, free: 14.49 MB / 0.6544 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.001668/0.6385, allocations: 0.7184 MB / 0.8843 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002228/0.6407, allocations: 1.138 MB / 0.8854 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.6407, allocations: 192 / 0.8854 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001199/0.6419, allocations: 0.7488 MB / 0.8861 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.6433, allocations: 346.6 kB / 0.8865 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004175/0.6475, allocations: 2.11 MB / 0.8885 GB, free: 9.566 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006378/0.6482, allocations: 1.11 MB / 0.8896 GB, free: 8.426 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009131/0.6491, allocations: 307.6 kB / 0.8899 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003099/0.6494, allocations: 119.4 kB / 0.89 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of SimCode: time 3.41e-07/0.6494, allocations: 0 / 0.89 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of Templates: time 0.02942/0.6788, allocations: 19.62 MB / 0.9092 GB, free: 4.625 MB / 0.67 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)