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.00117/0.00117, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01224/0.01224, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.5/1.5, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.024/1.024, allocations: 135.3 MB / 426.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003379, allocations: 8 kB / 0.5076 GB, free: 4.723 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1941, allocations: 82.3 MB / 0.588 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.01266/0.2069, allocations: 5.719 MB / 0.5935 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5411/0.748, allocations: 149.2 MB / 0.7393 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/0.7498, allocations: 31.66 kB / 0.7393 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009051/0.7508, allocations: 245.1 kB / 0.7395 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002497/0.7533, allocations: 0.5536 MB / 0.7401 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004226/0.7575, allocations: 1.154 MB / 0.7412 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003452/0.761, allocations: 2.152 MB / 0.7433 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001635/0.7626, allocations: 1.022 MB / 0.7443 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/0.764, allocations: 0.5654 MB / 0.7449 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008226/0.7648, allocations: 0.6146 MB / 0.7455 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.765, allocations: 41.56 kB / 0.7455 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001845/0.7668, allocations: 0.7676 MB / 0.7463 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004155/0.7672, allocations: 330 kB / 0.7466 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009113/0.7682, allocations: 0.7248 MB / 0.7473 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003273/0.7714, allocations: 2.476 MB / 0.7497 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.7715, allocations: 4 kB / 0.7497 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7715, allocations: 0 / 0.7497 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.764e-05/0.7715, allocations: 0 / 0.7497 GB, free: 5.105 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.003474/0.775, allocations: 1.791 MB / 0.7514 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.7751, allocations: 9.656 kB / 0.7515 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001898/0.777, allocations: 387.1 kB / 0.7518 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/0.7787, allocations: 1.188 MB / 0.753 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-05/0.7788, allocations: 103.5 kB / 0.7531 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/0.779, allocations: 129.2 kB / 0.7532 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002709/0.7817, allocations: 1.535 MB / 0.7547 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.7817, allocations: 0 / 0.7547 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/0.7819, allocations: 60 kB / 0.7548 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.698e-05/0.7819, allocations: 32 kB / 0.7548 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003391/0.7853, allocations: 2.055 MB / 0.7568 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007739/0.7931, allocations: 4.492 MB / 0.7612 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002893/0.796, allocations: 1.448 MB / 0.7626 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/0.7971, allocations: 0.5438 MB / 0.7631 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.7972, allocations: 65.11 kB / 0.7632 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001468/0.7987, allocations: 0.7921 MB / 0.764 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=136): time 3.306e-06/0.7987, allocations: 0 / 0.764 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of matching and sorting (n=136): time 0.005703/0.8044, allocations: 2.143 MB / 0.7661 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002046/0.8046, allocations: 355.2 kB / 0.7664 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/0.8062, allocations: 1.071 MB / 0.7674 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001158/0.8063, allocations: 53.7 kB / 0.7675 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005602/0.8069, allocations: 0.6105 MB / 0.7681 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000422/0.8073, allocations: 453.5 kB / 0.7685 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.8075, allocations: 113.6 kB / 0.7686 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.8077, allocations: 361.9 kB / 0.769 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009964/0.8087, allocations: 486.3 kB / 0.7694 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/0.8098, allocations: 0.6613 MB / 0.7701 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002125/0.812, allocations: 1.136 MB / 0.7712 GB, free: 4 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.812, allocations: 0 / 0.7712 GB, free: 4 kB / 0.5762 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003596/0.8156, allocations: 1.535 MB / 0.7727 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.8156, allocations: 10.19 kB / 0.7727 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.8156, allocations: 0 / 0.7727 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/0.8167, allocations: 177.7 kB / 0.7729 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.8179, allocations: 295.6 kB / 0.7732 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003896/0.8218, allocations: 3.065 MB / 0.7762 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.8232, allocations: 182.5 kB / 0.7763 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.8233, allocations: 67.95 kB / 0.7764 GB, free: 10.39 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.0007254/0.8241, allocations: 383.8 kB / 0.7768 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002361/0.8243, allocations: 146.2 kB / 0.7769 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005116/0.8294, allocations: 1.997 MB / 0.7788 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-05/0.8295, allocations: 16 kB / 0.7789 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.8295, allocations: 7.938 kB / 0.7789 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/0.8295, allocations: 11.97 kB / 0.7789 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/0.8314, allocations: 1.464 MB / 0.7803 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.8314, allocations: 0 / 0.7803 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.8325, allocations: 283.6 kB / 0.7806 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000987/0.8335, allocations: 169.5 kB / 0.7807 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.929e-05/0.8336, allocations: 43.97 kB / 0.7808 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003597/0.8372, allocations: 3.111 MB / 0.7838 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.8372, allocations: 4.031 kB / 0.7838 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003604/0.8408, allocations: 1.642 MB / 0.7854 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000726/0.8416, allocations: 458.5 kB / 0.7859 GB, free: 292 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001816/0.8418, allocations: 32 kB / 0.7859 GB, free: 260 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.8428, allocations: 139.9 kB / 0.786 GB, free: 120 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002503/0.8431, allocations: 117.8 kB / 0.7861 GB, free: 0 / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/0.8432, allocations: 59.97 kB / 0.7862 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001133/0.8444, allocations: 0.7417 MB / 0.7869 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8444, allocations: 0 / 0.7869 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001315/0.8457, allocations: 474.9 kB / 0.7874 GB, free: 14.73 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.001423/0.8471, allocations: 0.6358 MB / 0.788 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003189/0.8503, allocations: 1.526 MB / 0.7895 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.8504, allocations: 3.938 kB / 0.7895 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001714/0.8521, allocations: 0.9576 MB / 0.7904 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00227/0.8544, allocations: 0.5144 MB / 0.7909 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007563/0.8619, allocations: 3.85 MB / 0.7947 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009646/0.8629, allocations: 1.289 MB / 0.7959 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001807/0.8647, allocations: 0.4918 MB / 0.7964 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004359/0.8652, allocations: 179.3 kB / 0.7966 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of SimCode: time 1.052e-06/0.8652, allocations: 0 / 0.7966 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of Templates: time 0.04589/0.9111, allocations: 24.43 MB / 0.8205 GB, free: 13.22 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)