Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.005832/0.005832, allocations: 99.98 kB / 15.73 MB, free: 6.039 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.001169/0.001169, allocations: 202 kB / 16.68 MB, free: 5.965 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.727/0.727, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 62.42 kB / 0.5813 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1703, allocations: 80.2 MB / 0.6596 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.007383/0.1778, allocations: 6.228 MB / 0.6657 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.602/0.7798, allocations: 153.2 MB / 0.8153 GB, free: 3.707 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001401/0.7812, allocations: 35.41 kB / 0.8154 GB, free: 3.707 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0008062/0.7821, allocations: 313.2 kB / 0.8157 GB, free: 3.707 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001961/0.7841, allocations: 0.6465 MB / 0.8163 GB, free: 3.707 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003123/0.7872, allocations: 1.298 MB / 0.8176 GB, free: 3.688 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003535/0.7907, allocations: 2.324 MB / 0.8198 GB, free: 3.68 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001956/0.7927, allocations: 1.063 MB / 0.8209 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001753/0.7945, allocations: 0.7718 MB / 0.8216 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001195/0.7957, allocations: 0.7896 MB / 0.8224 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000332/0.796, allocations: 186.3 kB / 0.8226 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002175/0.7982, allocations: 0.9467 MB / 0.8235 GB, free: 3.469 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004688/0.7987, allocations: 492.2 kB / 0.824 GB, free: 3.469 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009893/0.7997, allocations: 0.8954 MB / 0.8249 GB, free: 3.469 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004669/0.8044, allocations: 2.732 MB / 0.8275 GB, free: 3.094 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.8044, allocations: 0 / 0.8275 GB, free: 3.094 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8044, allocations: 0.9062 kB / 0.8275 GB, free: 3.094 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.372e-05/0.8045, allocations: 1.219 kB / 0.8275 GB, free: 3.094 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.004195/0.8087, allocations: 2.216 MB / 0.8297 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.8087, allocations: 11.03 kB / 0.8297 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001838/0.8106, allocations: 371 kB / 0.8301 GB, free: 1.844 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001891/0.8125, allocations: 1.248 MB / 0.8313 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.8126, allocations: 99.81 kB / 0.8314 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002079/0.8128, allocations: 127.4 kB / 0.8315 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002854/0.8157, allocations: 1.525 MB / 0.833 GB, free: 1.152 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/0.8157, allocations: 2.281 kB / 0.833 GB, free: 1.152 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/0.8158, allocations: 59.59 kB / 0.833 GB, free: 1.152 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.824e-05/0.8159, allocations: 37.67 kB / 0.8331 GB, free: 1.148 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003339/0.8192, allocations: 2.043 MB / 0.8351 GB, free: 1.137 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006173/0.8254, allocations: 4.402 MB / 0.8394 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002638/0.8281, allocations: 1.432 MB / 0.8408 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009726/0.8291, allocations: 0.5363 MB / 0.8413 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/0.8292, allocations: 61.5 kB / 0.8413 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001418/0.8306, allocations: 0.7912 MB / 0.8421 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=136): time 3.787e-06/0.8306, allocations: 3.281 kB / 0.8421 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of matching and sorting (n=136): time 0.005349/0.836, allocations: 2.108 MB / 0.8442 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001631/0.8362, allocations: 364.2 kB / 0.8445 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.8376, allocations: 1.076 MB / 0.8456 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.8377, allocations: 55.89 kB / 0.8456 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004699/0.8382, allocations: 0.6153 MB / 0.8462 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003633/0.8385, allocations: 476.7 kB / 0.8467 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004085/0.839, allocations: 286.6 kB / 0.847 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.8391, allocations: 360.1 kB / 0.8473 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008778/0.84, allocations: 476.3 kB / 0.8478 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.8411, allocations: 0.6532 MB / 0.8484 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001893/0.843, allocations: 1.114 MB / 0.8495 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.843, allocations: 5.688 kB / 0.8495 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003286/0.8463, allocations: 1.529 MB / 0.851 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.8463, allocations: 6.375 kB / 0.851 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.8464, allocations: 7.031 kB / 0.851 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009747/0.8473, allocations: 164.1 kB / 0.8512 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.8484, allocations: 292.1 kB / 0.8514 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003626/0.852, allocations: 3.279 MB / 0.8546 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.8534, allocations: 166.5 kB / 0.8548 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.8535, allocations: 64.64 kB / 0.8549 GB, free: 10.53 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 16 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,$whenCondition1,$whenCondition2,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 159 * 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.0007335/0.8542, allocations: 391.3 kB / 0.8552 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002766/0.8545, allocations: 161.4 kB / 0.8554 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00406/0.8586, allocations: 1.966 MB / 0.8573 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.8586, allocations: 17.28 kB / 0.8573 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.8586, allocations: 3.938 kB / 0.8573 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-05/0.8586, allocations: 9.766 kB / 0.8573 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/0.8603, allocations: 1.469 MB / 0.8588 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.8603, allocations: 7.375 kB / 0.8588 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009834/0.8613, allocations: 280 kB / 0.859 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007452/0.862, allocations: 144.5 kB / 0.8592 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.429e-05/0.8621, allocations: 42.72 kB / 0.8592 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003296/0.8654, allocations: 3.338 MB / 0.8625 GB, free: 7.113 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.8655, allocations: 8.359 kB / 0.8625 GB, free: 7.109 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003221/0.8687, allocations: 1.631 MB / 0.8641 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006552/0.8693, allocations: 435.2 kB / 0.8645 GB, free: 6.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/0.8696, allocations: 31.19 kB / 0.8645 GB, free: 6.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000958/0.8705, allocations: 110 kB / 0.8646 GB, free: 6.68 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002239/0.8708, allocations: 116.9 kB / 0.8647 GB, free: 6.676 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/0.8709, allocations: 66.34 kB / 0.8648 GB, free: 6.672 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001002/0.8719, allocations: 0.7391 MB / 0.8655 GB, free: 6.562 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.71e-07/0.8719, allocations: 0 / 0.8655 GB, free: 6.562 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001399/0.8733, allocations: 484.5 kB / 0.866 GB, free: 6.488 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001517/0.8748, allocations: 0.6428 MB / 0.8666 GB, free: 6.309 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003186/0.878, allocations: 1.517 MB / 0.8681 GB, free: 5.758 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.8781, allocations: 1 kB / 0.8681 GB, free: 5.758 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001661/0.8797, allocations: 0.9568 MB / 0.869 GB, free: 5.328 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00224/0.882, allocations: 0.548 MB / 0.8696 GB, free: 5.176 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007119/0.8891, allocations: 3.078 MB / 0.8726 GB, free: 3.758 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000816/0.8899, allocations: 1.286 MB / 0.8738 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001775/0.8917, allocations: 0.4946 MB / 0.8743 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004531/0.8922, allocations: 180 kB / 0.8745 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of SimCode: time 1.543e-06/0.8922, allocations: 0 / 0.8745 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of Templates: time 0.04315/0.9353, allocations: 25.94 MB / 0.8998 GB, free: 15.67 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)