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.001115/0.001115, allocations: 117.8 kB / 16.37 MB, free: 6.004 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.001211/0.001211, allocations: 192.8 kB / 17.31 MB, free: 5.613 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8422/0.8422, allocations: 132.2 MB / 423.3 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 55.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3631, allocations: 80.19 MB / 0.5815 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.006954/0.3701, allocations: 6.229 MB / 0.5876 GB, free: 22.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1711/0.5413, allocations: 153.2 MB / 0.7372 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002032/0.5434, allocations: 35.81 kB / 0.7372 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.5445, allocations: 309 kB / 0.7375 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00329/0.5479, allocations: 0.6478 MB / 0.7382 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003652/0.5516, allocations: 1.299 MB / 0.7394 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003396/0.555, allocations: 2.332 MB / 0.7417 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001637/0.5566, allocations: 1.064 MB / 0.7427 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001317/0.5579, allocations: 0.7746 MB / 0.7435 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.559, allocations: 0.7895 MB / 0.7443 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002765/0.5593, allocations: 184 kB / 0.7445 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001846/0.5612, allocations: 0.9442 MB / 0.7454 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004335/0.5616, allocations: 494.4 kB / 0.7458 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000818/0.5624, allocations: 0.9053 MB / 0.7467 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003254/0.5657, allocations: 2.698 MB / 0.7494 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5657, allocations: 4 kB / 0.7494 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.82e-07/0.5657, allocations: 0 / 0.7494 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.707e-05/0.5658, allocations: 3.938 kB / 0.7494 GB, free: 1.703 MB / 0.5762 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.2815/0.8473, allocations: 2.148 MB / 0.7515 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.8474, allocations: 10.16 kB / 0.7515 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002093/0.8495, allocations: 358 kB / 0.7518 GB, free: 167 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002183/0.8517, allocations: 1.239 MB / 0.753 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.8518, allocations: 97.95 kB / 0.7531 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002021/0.852, allocations: 133 kB / 0.7532 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002969/0.855, allocations: 1.523 MB / 0.7547 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/0.855, allocations: 2.828 kB / 0.7547 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.8551, allocations: 63.05 kB / 0.7548 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.941e-05/0.8552, allocations: 34.19 kB / 0.7548 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003736/0.8589, allocations: 2.041 MB / 0.7568 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006634/0.8656, allocations: 4.392 MB / 0.7611 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002637/0.8682, allocations: 1.434 MB / 0.7625 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009307/0.8692, allocations: 0.5283 MB / 0.763 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.8693, allocations: 63.67 kB / 0.7631 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001301/0.8706, allocations: 0.7946 MB / 0.7639 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=136): time 3.287e-06/0.8706, allocations: 1.062 kB / 0.7639 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=136): time 0.005458/0.8761, allocations: 2.101 MB / 0.7659 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.8762, allocations: 355.3 kB / 0.7663 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.8774, allocations: 1.083 MB / 0.7673 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.498e-05/0.8775, allocations: 49.7 kB / 0.7674 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003633/0.8779, allocations: 0.6126 MB / 0.768 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002524/0.8782, allocations: 452.3 kB / 0.7684 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003439/0.8785, allocations: 290.6 kB / 0.7687 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.631e-05/0.8786, allocations: 353.9 kB / 0.769 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008241/0.8794, allocations: 479.5 kB / 0.7695 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009654/0.8804, allocations: 0.6501 MB / 0.7701 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001774/0.8822, allocations: 1.119 MB / 0.7712 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.8822, allocations: 5.156 kB / 0.7712 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003163/0.8854, allocations: 1.52 MB / 0.7727 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.8854, allocations: 4.781 kB / 0.7727 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.8854, allocations: 4 kB / 0.7727 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.8864, allocations: 164.3 kB / 0.7728 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.8875, allocations: 293.2 kB / 0.7731 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003208/0.8907, allocations: 3.283 MB / 0.7763 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.892, allocations: 167.4 kB / 0.7765 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.8921, allocations: 63.95 kB / 0.7766 GB, free: 147.5 MB / 0.5762 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.0006336/0.8928, allocations: 391.6 kB / 0.7769 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002484/0.893, allocations: 149.2 kB / 0.7771 GB, free: 147 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004038/0.8971, allocations: 1.968 MB / 0.779 GB, free: 145 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.8971, allocations: 16 kB / 0.779 GB, free: 145 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.8971, allocations: 0 / 0.779 GB, free: 145 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.8971, allocations: 7.969 kB / 0.779 GB, free: 145 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.8986, allocations: 1.47 MB / 0.7805 GB, free: 143.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.8986, allocations: 4 kB / 0.7805 GB, free: 143.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009804/0.8996, allocations: 279.5 kB / 0.7807 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007873/0.9004, allocations: 145.6 kB / 0.7809 GB, free: 143.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.021e-05/0.9005, allocations: 43.97 kB / 0.7809 GB, free: 143.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003044/0.9036, allocations: 3.336 MB / 0.7842 GB, free: 139.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.9036, allocations: 4.016 kB / 0.7842 GB, free: 139.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003138/0.9067, allocations: 1.622 MB / 0.7857 GB, free: 137.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006896/0.9074, allocations: 430.7 kB / 0.7862 GB, free: 137.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001934/0.9076, allocations: 35.84 kB / 0.7862 GB, free: 137.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009353/0.9086, allocations: 110.7 kB / 0.7863 GB, free: 137.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001948/0.9088, allocations: 121.8 kB / 0.7864 GB, free: 137.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.964e-05/0.9089, allocations: 59.95 kB / 0.7865 GB, free: 137 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008292/0.9097, allocations: 0.7456 MB / 0.7872 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9097, allocations: 0 / 0.7872 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001139/0.9109, allocations: 473.7 kB / 0.7877 GB, free: 135.9 MB / 0.5762 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.001334/0.9122, allocations: 0.6351 MB / 0.7883 GB, free: 135.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002666/0.9149, allocations: 1.509 MB / 0.7897 GB, free: 133.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.9149, allocations: 4 kB / 0.7898 GB, free: 133.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001412/0.9163, allocations: 0.9649 MB / 0.7907 GB, free: 132.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/0.9182, allocations: 0.5482 MB / 0.7912 GB, free: 132.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005653/0.9239, allocations: 3.038 MB / 0.7942 GB, free: 129.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005548/0.9244, allocations: 1.285 MB / 0.7954 GB, free: 128.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001315/0.9258, allocations: 0.4919 MB / 0.7959 GB, free: 127.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003747/0.9261, allocations: 183.3 kB / 0.7961 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of SimCode: time 7.81e-07/0.9262, allocations: 0 / 0.7961 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.03428/0.9604, allocations: 25.62 MB / 0.8211 GB, free: 102.1 MB / 0.5762 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)