Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 117.4 kB / 17.08 MB, free: 6.004 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.001172/0.001172, allocations: 197.8 kB / 18.02 MB, free: 5.082 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.258/1.258, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6946/0.6946, allocations: 115.3 MB / 407.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 60.84 kB / 0.5583 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1578, allocations: 76.19 MB / 0.6327 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.009052/0.1668, allocations: 7.171 MB / 0.6397 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4744/0.6413, allocations: 153.4 MB / 0.7896 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001578/0.6429, allocations: 39.41 kB / 0.7896 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.6441, allocations: 341.2 kB / 0.7899 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002939/0.6471, allocations: 0.7622 MB / 0.7907 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003226/0.6504, allocations: 1.389 MB / 0.792 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003385/0.6538, allocations: 2.659 MB / 0.7946 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001765/0.6556, allocations: 1.038 MB / 0.7956 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001571/0.6571, allocations: 0.8867 MB / 0.7965 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001456/0.6586, allocations: 0.918 MB / 0.7974 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005752/0.6592, allocations: 210.5 kB / 0.7976 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001955/0.6612, allocations: 0.9728 MB / 0.7985 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006084/0.6618, allocations: 0.5374 MB / 0.7991 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001316/0.6631, allocations: 1.014 MB / 0.8001 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003747/0.6669, allocations: 3.001 MB / 0.803 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.6669, allocations: 0 / 0.803 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6669, allocations: 0 / 0.803 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.475e-05/0.667, allocations: 0 / 0.803 GB, free: 11.46 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: 367 * Number of variables: 367 Notification: Performance of Generate backend data structure: time 0.004635/0.6716, allocations: 2.368 MB / 0.8053 GB, free: 10 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.6717, allocations: 17.98 kB / 0.8053 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001916/0.6736, allocations: 376.1 kB / 0.8057 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001888/0.6755, allocations: 1.313 MB / 0.807 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.547e-05/0.6756, allocations: 111 kB / 0.8071 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.6758, allocations: 141.7 kB / 0.8072 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002566/0.6783, allocations: 1.659 MB / 0.8088 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.6784, allocations: 0 / 0.8088 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/0.6785, allocations: 63.12 kB / 0.8089 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.357e-05/0.6785, allocations: 39.19 kB / 0.8089 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003065/0.6816, allocations: 2.146 MB / 0.811 GB, free: 7.547 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.007036/0.6887, allocations: 4.897 MB / 0.8158 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002878/0.6916, allocations: 1.609 MB / 0.8174 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009985/0.6926, allocations: 0.587 MB / 0.8179 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.6927, allocations: 68.91 kB / 0.818 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001558/0.6943, allocations: 0.9408 MB / 0.8189 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=154): time 3.497e-06/0.6943, allocations: 3.75 kB / 0.8189 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=154): time 0.006016/0.7003, allocations: 2.372 MB / 0.8212 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000172/0.7005, allocations: 358.5 kB / 0.8216 GB, free: 336 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/0.7023, allocations: 1.158 MB / 0.8227 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001618/0.7025, allocations: 63.78 kB / 0.8228 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005828/0.7031, allocations: 0.655 MB / 0.8234 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004286/0.7035, allocations: 499.9 kB / 0.8239 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004816/0.704, allocations: 315.3 kB / 0.8242 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.336e-05/0.7041, allocations: 305.1 kB / 0.8245 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/0.7052, allocations: 0.5322 MB / 0.825 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/0.7065, allocations: 0.7371 MB / 0.8257 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00224/0.7087, allocations: 1.234 MB / 0.8269 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.7087, allocations: 6.938 kB / 0.8269 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004015/0.7128, allocations: 1.691 MB / 0.8286 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.7128, allocations: 8.031 kB / 0.8286 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.7128, allocations: 5.844 kB / 0.8286 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/0.7139, allocations: 168.8 kB / 0.8288 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.7152, allocations: 321.8 kB / 0.8291 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004204/0.7194, allocations: 3.296 MB / 0.8323 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.721, allocations: 192.8 kB / 0.8325 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/0.7212, allocations: 73.25 kB / 0.8325 GB, free: 8.352 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 34 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.decAng.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,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,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 183 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008726/0.7221, allocations: 418 kB / 0.8329 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005077/0.7226, allocations: 161.5 kB / 0.8331 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004884/0.7275, allocations: 2.162 MB / 0.8352 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/0.7275, allocations: 24 kB / 0.8352 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.7275, allocations: 0 / 0.8352 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/0.7275, allocations: 7.969 kB / 0.8352 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002227/0.7298, allocations: 1.623 MB / 0.8368 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/0.7298, allocations: 3.984 kB / 0.8368 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.7309, allocations: 287.6 kB / 0.8371 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008469/0.7318, allocations: 141.6 kB / 0.8372 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001334/0.7319, allocations: 55.95 kB / 0.8373 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003823/0.7357, allocations: 3.343 MB / 0.8406 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.7358, allocations: 1.562 kB / 0.8406 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004123/0.7399, allocations: 1.823 MB / 0.8423 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000889/0.7408, allocations: 466.4 kB / 0.8428 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003805/0.7412, allocations: 36 kB / 0.8428 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/0.7426, allocations: 126.6 kB / 0.8429 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002623/0.7428, allocations: 149.7 kB / 0.8431 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001493/0.743, allocations: 75.95 kB / 0.8432 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001394/0.7444, allocations: 0.8028 MB / 0.8439 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7444, allocations: 0 / 0.8439 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001641/0.7461, allocations: 0.5223 MB / 0.8444 GB, free: 11.92 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 10 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00165/0.7477, allocations: 0.6602 MB / 0.8451 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003583/0.7513, allocations: 1.679 MB / 0.8467 GB, free: 9.754 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.7513, allocations: 0 / 0.8467 GB, free: 9.754 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001963/0.7533, allocations: 1.043 MB / 0.8477 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002411/0.7557, allocations: 0.5783 MB / 0.8483 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006013/0.7617, allocations: 3.109 MB / 0.8514 GB, free: 5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001222/0.763, allocations: 1.333 MB / 0.8527 GB, free: 3.633 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006881/0.7637, allocations: 227.2 kB / 0.8529 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of SimCode: time 1.092e-06/0.7637, allocations: 0 / 0.8529 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of Templates: time 0.05242/0.8161, allocations: 40.81 MB / 0.8927 GB, free: 10.68 MB / 0.67 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)