Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.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.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 105.8 kB / 16.4 MB, free: 6.461 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.001261/0.001261, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6922/0.6922, allocations: 115.3 MB / 406.5 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 64.16 kB / 0.5577 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1431, allocations: 76.18 MB / 0.6321 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.008281/0.1514, allocations: 5.595 MB / 0.6375 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4991/0.6505, allocations: 150.9 MB / 0.7849 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001606/0.6522, allocations: 27.5 kB / 0.7849 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009191/0.6532, allocations: 362.4 kB / 0.7852 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002097/0.6553, allocations: 0.5628 MB / 0.7858 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002419/0.6577, allocations: 0.8706 MB / 0.7866 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001618/0.6593, allocations: 1.558 MB / 0.7882 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.6604, allocations: 0.7647 MB / 0.7889 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007938/0.6613, allocations: 0.5419 MB / 0.7894 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006781/0.6619, allocations: 0.5719 MB / 0.79 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002234/0.6622, allocations: 130.9 kB / 0.7901 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000936/0.6631, allocations: 0.4943 MB / 0.7906 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002415/0.6634, allocations: 343.2 kB / 0.7909 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004486/0.6638, allocations: 0.6576 MB / 0.7916 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001643/0.6655, allocations: 1.916 MB / 0.7934 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.6655, allocations: 0 / 0.7934 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6655, allocations: 0 / 0.7934 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.354e-05/0.6655, allocations: 0 / 0.7934 GB, free: 12.82 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002407/0.6679, allocations: 1.68 MB / 0.7951 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.668, allocations: 7.625 kB / 0.7951 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008858/0.6689, allocations: 224.5 kB / 0.7953 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.67, allocations: 0.9103 MB / 0.7962 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.701e-05/0.6701, allocations: 72.62 kB / 0.7963 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.997e-05/0.6702, allocations: 94.31 kB / 0.7964 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.6717, allocations: 1.032 MB / 0.7974 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.6717, allocations: 0 / 0.7974 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.158e-05/0.6718, allocations: 39.66 kB / 0.7974 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.6718, allocations: 31.69 kB / 0.7974 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.6734, allocations: 1.166 MB / 0.7986 GB, free: 11.29 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.003781/0.6772, allocations: 3.01 MB / 0.8015 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.6785, allocations: 0.791 MB / 0.8023 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004545/0.679, allocations: 300.1 kB / 0.8026 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.679e-05/0.6791, allocations: 39.12 kB / 0.8026 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007623/0.6798, allocations: 498.3 kB / 0.8031 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 2.335e-06/0.6799, allocations: 0 / 0.8031 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of matching and sorting (n=78): time 0.002804/0.6827, allocations: 1.202 MB / 0.8043 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.6828, allocations: 194.8 kB / 0.8044 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008525/0.6836, allocations: 0.7958 MB / 0.8052 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.434e-05/0.6837, allocations: 41.42 kB / 0.8053 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003331/0.6841, allocations: 0.5074 MB / 0.8058 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001743/0.6842, allocations: 250.5 kB / 0.806 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002215/0.6845, allocations: 161.2 kB / 0.8061 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.6846, allocations: 339.1 kB / 0.8065 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004489/0.685, allocations: 268.6 kB / 0.8067 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005438/0.6856, allocations: 361.9 kB / 0.8071 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009487/0.6865, allocations: 0.5996 MB / 0.8077 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.6866, allocations: 2.719 kB / 0.8077 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001711/0.6883, allocations: 0.863 MB / 0.8085 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.6883, allocations: 6.312 kB / 0.8085 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.6883, allocations: 2.562 kB / 0.8085 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005556/0.6889, allocations: 82.61 kB / 0.8086 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005783/0.6895, allocations: 156.8 kB / 0.8087 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/0.6915, allocations: 1.649 MB / 0.8103 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006833/0.6922, allocations: 99.28 kB / 0.8104 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.056e-05/0.6922, allocations: 34.34 kB / 0.8105 GB, free: 5.582 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004215/0.6927, allocations: 291.9 kB / 0.8108 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.6928, allocations: 106.7 kB / 0.8109 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00217/0.695, allocations: 1.069 MB / 0.8119 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.695, allocations: 7.688 kB / 0.8119 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.695, allocations: 2 kB / 0.8119 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.6951, allocations: 7.922 kB / 0.8119 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.6961, allocations: 1.022 MB / 0.8129 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.6961, allocations: 0 / 0.8129 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005237/0.6966, allocations: 139.4 kB / 0.813 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004063/0.6971, allocations: 70.8 kB / 0.8131 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.348e-05/0.6971, allocations: 27.72 kB / 0.8131 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/0.699, allocations: 1.667 MB / 0.8148 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.699, allocations: 64 / 0.8148 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.7009, allocations: 0.947 MB / 0.8157 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003332/0.7012, allocations: 291.6 kB / 0.816 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.7013, allocations: 17.34 kB / 0.816 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005765/0.7019, allocations: 59.69 kB / 0.816 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.7021, allocations: 73.58 kB / 0.8161 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-05/0.7022, allocations: 34.89 kB / 0.8161 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007166/0.7029, allocations: 0.5619 MB / 0.8167 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.01e-07/0.7029, allocations: 0 / 0.8167 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008382/0.7037, allocations: 347 kB / 0.817 GB, free: 0.9453 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.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 (89): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001248/0.705, allocations: 0.5985 MB / 0.8176 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001521/0.7065, allocations: 0.8329 MB / 0.8184 GB, free: 244 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.7065, allocations: 0 / 0.8184 GB, free: 244 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008483/0.7074, allocations: 0.5166 MB / 0.8189 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.709, allocations: 472.2 kB / 0.8194 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00316/0.7122, allocations: 1.911 MB / 0.8212 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007221/0.7129, allocations: 1.101 MB / 0.8223 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000845/0.7138, allocations: 288.3 kB / 0.8226 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002415/0.714, allocations: 109.2 kB / 0.8227 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of SimCode: time 5.71e-07/0.714, allocations: 0 / 0.8227 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of Templates: time 0.03049/0.7445, allocations: 17.54 MB / 0.8398 GB, free: 15.04 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)