Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001561/0.001561, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001889/0.001889, allocations: 196.1 kB / 16.14 MB, free: 6.711 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.424/1.424, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9921/0.9921, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001202, allocations: 69.45 kB / 0.5047 GB, free: 5.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1517, allocations: 80.92 MB / 0.5837 GB, free: 5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.00766/0.1594, allocations: 6.189 MB / 0.5897 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4812/0.6406, allocations: 150.9 MB / 0.7371 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001872/0.6425, allocations: 34.31 kB / 0.7371 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001291/0.6439, allocations: 244.5 kB / 0.7373 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003314/0.6472, allocations: 0.553 MB / 0.7379 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00409/0.6513, allocations: 1.158 MB / 0.739 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003914/0.6553, allocations: 2.159 MB / 0.7411 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001808/0.6571, allocations: 1.034 MB / 0.7421 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001758/0.6589, allocations: 0.6581 MB / 0.7428 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001273/0.6602, allocations: 0.7417 MB / 0.7435 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002671/0.6604, allocations: 83.22 kB / 0.7436 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002183/0.6626, allocations: 0.8141 MB / 0.7444 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004687/0.6631, allocations: 401.8 kB / 0.7448 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.6641, allocations: 0.7944 MB / 0.7455 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003058/0.6672, allocations: 2.548 MB / 0.748 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.6672, allocations: 0 / 0.748 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6672, allocations: 2.438 kB / 0.748 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.297e-05/0.6673, allocations: 4 kB / 0.748 GB, free: 4.078 MB / 0.5606 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.003871/0.6712, allocations: 2.151 MB / 0.7501 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.6712, allocations: 16.48 kB / 0.7501 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001992/0.6732, allocations: 355 kB / 0.7505 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001769/0.675, allocations: 1.198 MB / 0.7516 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.593e-05/0.6751, allocations: 94.69 kB / 0.7517 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/0.6753, allocations: 140 kB / 0.7519 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002738/0.678, allocations: 1.524 MB / 0.7534 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.678, allocations: 0 / 0.7534 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/0.6782, allocations: 67.98 kB / 0.7534 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.579e-05/0.6782, allocations: 32 kB / 0.7535 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003236/0.6815, allocations: 2.035 MB / 0.7554 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007406/0.6889, allocations: 4.439 MB / 0.7598 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002738/0.6917, allocations: 1.436 MB / 0.7612 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/0.6927, allocations: 0.5282 MB / 0.7617 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.6928, allocations: 65.12 kB / 0.7618 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00155/0.6944, allocations: 0.7882 MB / 0.7625 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=136): time 4.268e-06/0.6944, allocations: 3.984 kB / 0.7625 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of matching and sorting (n=136): time 0.005818/0.7002, allocations: 2.108 MB / 0.7646 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001747/0.7004, allocations: 351.3 kB / 0.7649 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/0.7019, allocations: 1.079 MB / 0.766 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001212/0.7021, allocations: 57.69 kB / 0.766 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004825/0.7026, allocations: 0.6027 MB / 0.7666 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000358/0.7029, allocations: 453.5 kB / 0.7671 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003935/0.7033, allocations: 282.7 kB / 0.7673 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.7035, allocations: 357.9 kB / 0.7677 GB, free: 352 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009953/0.7045, allocations: 483.1 kB / 0.7681 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001183/0.7057, allocations: 0.6535 MB / 0.7688 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002113/0.7078, allocations: 1.113 MB / 0.7699 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.7078, allocations: 3.75 kB / 0.7699 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.00378/0.7116, allocations: 1.52 MB / 0.7713 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.7116, allocations: 7.938 kB / 0.7713 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.7116, allocations: 7.984 kB / 0.7714 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.7128, allocations: 172.3 kB / 0.7715 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.714, allocations: 287.6 kB / 0.7718 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003903/0.7179, allocations: 3.055 MB / 0.7748 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/0.7195, allocations: 173.9 kB / 0.7749 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.7197, allocations: 63.95 kB / 0.775 GB, free: 8.473 MB / 0.5919 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.000911/0.7206, allocations: 393 kB / 0.7754 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003348/0.7209, allocations: 146.2 kB / 0.7755 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004734/0.7257, allocations: 1.981 MB / 0.7775 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.003e-05/0.7257, allocations: 16 kB / 0.7775 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.7257, allocations: 0 / 0.7775 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/0.7257, allocations: 7.969 kB / 0.7775 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.7277, allocations: 1.461 MB / 0.7789 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.7277, allocations: 0 / 0.7789 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.7288, allocations: 275.7 kB / 0.7792 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001002/0.7298, allocations: 165.5 kB / 0.7793 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.151e-05/0.7299, allocations: 51.97 kB / 0.7794 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003803/0.7337, allocations: 3.111 MB / 0.7824 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.7337, allocations: 0 / 0.7824 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004086/0.7378, allocations: 1.623 MB / 0.784 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007881/0.7386, allocations: 426.7 kB / 0.7844 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/0.7388, allocations: 35.98 kB / 0.7844 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.7398, allocations: 106.6 kB / 0.7845 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002685/0.7401, allocations: 121.8 kB / 0.7847 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/0.7402, allocations: 64.05 kB / 0.7847 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00108/0.7413, allocations: 0.7455 MB / 0.7854 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7413, allocations: 0 / 0.7854 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001471/0.7428, allocations: 482.8 kB / 0.7859 GB, free: 12.91 MB / 0.6075 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.001575/0.7444, allocations: 0.6291 MB / 0.7865 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003189/0.7476, allocations: 1.506 MB / 0.788 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.7476, allocations: 4.188 kB / 0.788 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001714/0.7493, allocations: 0.9498 MB / 0.7889 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001977/0.7513, allocations: 0.4981 MB / 0.7894 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007316/0.7587, allocations: 3.751 MB / 0.7931 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009364/0.7596, allocations: 1.283 MB / 0.7943 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001666/0.7613, allocations: 495.7 kB / 0.7948 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004661/0.7618, allocations: 187.3 kB / 0.795 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of SimCode: time 2.976e-06/0.7618, allocations: 0 / 0.795 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of Templates: time 0.04508/0.8069, allocations: 24.6 MB / 0.819 GB, free: 11.39 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)