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.0051/0.0051, allocations: 100.6 kB / 15.73 MB, free: 6.047 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.001283/0.001283, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.796/0.796, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 58.78 kB / 0.5813 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.191, allocations: 80.2 MB / 0.6596 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.008237/0.1993, allocations: 6.234 MB / 0.6657 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.614/0.8133, allocations: 153.2 MB / 0.8153 GB, free: 3.695 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001756/0.8151, allocations: 34.16 kB / 0.8154 GB, free: 3.695 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.8162, allocations: 318 kB / 0.8157 GB, free: 3.695 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003054/0.8193, allocations: 0.6638 MB / 0.8163 GB, free: 3.695 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003882/0.8232, allocations: 1.3 MB / 0.8176 GB, free: 3.684 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003614/0.8268, allocations: 2.329 MB / 0.8199 GB, free: 3.676 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002599/0.8294, allocations: 1.062 MB / 0.8209 GB, free: 3.48 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002556/0.832, allocations: 0.7799 MB / 0.8217 GB, free: 3.48 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001767/0.8338, allocations: 0.7902 MB / 0.8224 GB, free: 3.48 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003656/0.8342, allocations: 184.9 kB / 0.8226 GB, free: 3.48 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002605/0.8368, allocations: 0.9461 MB / 0.8235 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006059/0.8374, allocations: 496.3 kB / 0.824 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001355/0.8388, allocations: 0.8991 MB / 0.8249 GB, free: 3.461 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004531/0.8433, allocations: 2.712 MB / 0.8275 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.8433, allocations: 4.812 kB / 0.8275 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8433, allocations: 1.219 kB / 0.8275 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.304e-05/0.8434, allocations: 0.7812 kB / 0.8275 GB, free: 3.098 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.004104/0.8475, allocations: 2.148 MB / 0.8296 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.8476, allocations: 9.062 kB / 0.8297 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001869/0.8494, allocations: 365.9 kB / 0.83 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001779/0.8512, allocations: 1.243 MB / 0.8312 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.827e-05/0.8513, allocations: 99.88 kB / 0.8313 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/0.8515, allocations: 129.1 kB / 0.8314 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002685/0.8542, allocations: 1.526 MB / 0.8329 GB, free: 1.238 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.388e-05/0.8542, allocations: 5.562 kB / 0.8329 GB, free: 1.238 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/0.8544, allocations: 56.66 kB / 0.833 GB, free: 1.238 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.714e-05/0.8544, allocations: 33.72 kB / 0.833 GB, free: 1.238 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003273/0.8577, allocations: 2.044 MB / 0.835 GB, free: 1.227 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006582/0.8643, allocations: 4.391 MB / 0.8393 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002717/0.8671, allocations: 1.428 MB / 0.8407 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009303/0.868, allocations: 0.5347 MB / 0.8412 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.8681, allocations: 54.47 kB / 0.8413 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001271/0.8694, allocations: 0.7915 MB / 0.842 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=136): time 3.206e-06/0.8694, allocations: 0 / 0.842 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of matching and sorting (n=136): time 0.005452/0.8749, allocations: 2.109 MB / 0.8441 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001665/0.8751, allocations: 356.2 kB / 0.8444 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.8766, allocations: 1.078 MB / 0.8455 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001417/0.8768, allocations: 51.02 kB / 0.8455 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.00051/0.8773, allocations: 0.6125 MB / 0.8461 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003887/0.8777, allocations: 451.4 kB / 0.8466 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004325/0.8781, allocations: 288.5 kB / 0.8468 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.8783, allocations: 356.8 kB / 0.8472 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009233/0.8792, allocations: 475.7 kB / 0.8476 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/0.8803, allocations: 0.6598 MB / 0.8483 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001951/0.8823, allocations: 1.118 MB / 0.8494 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.8823, allocations: 0 / 0.8494 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003553/0.8859, allocations: 1.519 MB / 0.8509 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.8859, allocations: 8.344 kB / 0.8509 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/0.8859, allocations: 6.375 kB / 0.8509 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/0.887, allocations: 166.6 kB / 0.851 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.8882, allocations: 292.5 kB / 0.8513 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004214/0.8924, allocations: 3.289 MB / 0.8545 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/0.894, allocations: 158.8 kB / 0.8547 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002378/0.8942, allocations: 71.11 kB / 0.8547 GB, free: 10.68 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.001099/0.8954, allocations: 383.4 kB / 0.8551 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005544/0.8959, allocations: 156.2 kB / 0.8553 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004708/0.9006, allocations: 1.966 MB / 0.8572 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/0.9007, allocations: 18.41 kB / 0.8572 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.701e-05/0.9007, allocations: 3.938 kB / 0.8572 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.972e-05/0.9007, allocations: 12.75 kB / 0.8572 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002708/0.9034, allocations: 1.457 MB / 0.8586 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-05/0.9035, allocations: 4.656 kB / 0.8586 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.9045, allocations: 280 kB / 0.8589 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008046/0.9053, allocations: 143.6 kB / 0.859 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001318/0.9055, allocations: 47.45 kB / 0.8591 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003747/0.9092, allocations: 3.342 MB / 0.8624 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.9092, allocations: 2.938 kB / 0.8624 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003658/0.9129, allocations: 1.62 MB / 0.8639 GB, free: 7.047 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000821/0.9137, allocations: 427 kB / 0.8643 GB, free: 6.855 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003613/0.9141, allocations: 32.5 kB / 0.8644 GB, free: 6.855 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/0.9152, allocations: 105.8 kB / 0.8645 GB, free: 6.855 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002318/0.9155, allocations: 122.3 kB / 0.8646 GB, free: 6.852 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001266/0.9156, allocations: 62.52 kB / 0.8647 GB, free: 6.848 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00126/0.9169, allocations: 0.7434 MB / 0.8654 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9169, allocations: 0 / 0.8654 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001664/0.9186, allocations: 481.6 kB / 0.8658 GB, free: 6.66 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.001578/0.9202, allocations: 0.6368 MB / 0.8665 GB, free: 6.492 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003301/0.9235, allocations: 1.52 MB / 0.8679 GB, free: 5.949 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.341e-06/0.9235, allocations: 0.9375 kB / 0.8679 GB, free: 5.949 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001844/0.9253, allocations: 0.9498 MB / 0.8689 GB, free: 5.523 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002229/0.9276, allocations: 0.5427 MB / 0.8694 GB, free: 5.371 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007083/0.9347, allocations: 3.044 MB / 0.8724 GB, free: 3.992 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001263/0.936, allocations: 1.282 MB / 0.8736 GB, free: 3.25 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002069/0.9381, allocations: 0.4949 MB / 0.8741 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005619/0.9386, allocations: 188.3 kB / 0.8743 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of SimCode: time 5.71e-07/0.9386, allocations: 0 / 0.8743 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of Templates: time 0.04912/0.9878, allocations: 25.93 MB / 0.8996 GB, free: 15.9 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)