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.001065/0.001065, allocations: 112.6 kB / 16.37 MB, free: 6 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.001006/0.001006, allocations: 196 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7573/0.7573, allocations: 132.2 MB / 423.3 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 55.91 kB / 0.5032 GB, free: 11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2946, allocations: 80.19 MB / 0.5815 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.006498/0.3012, allocations: 6.233 MB / 0.5876 GB, free: 22.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1477/0.4489, allocations: 153.2 MB / 0.7372 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002134/0.4511, allocations: 35.81 kB / 0.7372 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.4524, allocations: 309.1 kB / 0.7375 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003168/0.4557, allocations: 0.6513 MB / 0.7382 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003087/0.4588, allocations: 1.296 MB / 0.7394 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002345/0.4611, allocations: 2.332 MB / 0.7417 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0014/0.4625, allocations: 1.056 MB / 0.7427 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/0.4636, allocations: 0.7708 MB / 0.7435 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008347/0.4644, allocations: 0.7894 MB / 0.7443 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000228/0.4647, allocations: 192 kB / 0.7444 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001542/0.4662, allocations: 0.9442 MB / 0.7454 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004086/0.4666, allocations: 498.4 kB / 0.7458 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007274/0.4674, allocations: 0.8859 MB / 0.7467 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002745/0.4701, allocations: 2.714 MB / 0.7494 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4701, allocations: 0 / 0.7494 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4701, allocations: 0 / 0.7494 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.301e-05/0.4702, allocations: 0 / 0.7494 GB, free: 1.723 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.2826/0.7528, allocations: 2.149 MB / 0.7515 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.7529, allocations: 9.625 kB / 0.7515 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00196/0.7548, allocations: 354.8 kB / 0.7518 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001936/0.7568, allocations: 1.243 MB / 0.753 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.116e-05/0.7569, allocations: 97.5 kB / 0.7531 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/0.7571, allocations: 132.6 kB / 0.7532 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002618/0.7597, allocations: 1.526 MB / 0.7547 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/0.7597, allocations: 4.656 kB / 0.7547 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/0.7599, allocations: 68.44 kB / 0.7548 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.329e-05/0.7599, allocations: 33.09 kB / 0.7548 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003378/0.7633, allocations: 2.035 MB / 0.7568 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006346/0.7696, allocations: 4.392 MB / 0.7611 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002487/0.7722, allocations: 1.443 MB / 0.7625 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009251/0.7731, allocations: 0.5285 MB / 0.763 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.7732, allocations: 63.16 kB / 0.7631 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001351/0.7746, allocations: 0.7903 MB / 0.7639 GB, free: 160 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=136): time 2.895e-06/0.7746, allocations: 3.719 kB / 0.7639 GB, free: 160 MB / 0.5762 GB Notification: Performance of matching and sorting (n=136): time 0.005385/0.78, allocations: 2.104 MB / 0.7659 GB, free: 158.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.7801, allocations: 357.5 kB / 0.7663 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.7812, allocations: 1.075 MB / 0.7673 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.426e-05/0.7813, allocations: 55.48 kB / 0.7674 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003518/0.7817, allocations: 0.6104 MB / 0.768 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/0.7819, allocations: 457 kB / 0.7684 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003242/0.7823, allocations: 286.6 kB / 0.7687 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.225e-05/0.7823, allocations: 359.1 kB / 0.769 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007986/0.7831, allocations: 476.4 kB / 0.7695 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009373/0.7841, allocations: 0.6559 MB / 0.7701 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/0.7858, allocations: 1.115 MB / 0.7712 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.7858, allocations: 0.6875 kB / 0.7712 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003071/0.7889, allocations: 1.518 MB / 0.7727 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.7889, allocations: 11.98 kB / 0.7727 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.7889, allocations: 0 / 0.7727 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/0.79, allocations: 169 kB / 0.7729 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.7911, allocations: 291.6 kB / 0.7731 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003082/0.7941, allocations: 3.282 MB / 0.7763 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.7954, allocations: 162.1 kB / 0.7765 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.7955, 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.000628/0.7961, allocations: 393.9 kB / 0.7769 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002329/0.7964, allocations: 146.2 kB / 0.7771 GB, free: 147 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003813/0.8002, allocations: 1.973 MB / 0.779 GB, free: 145 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.8002, allocations: 16 kB / 0.779 GB, free: 145 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.8002, allocations: 0 / 0.779 GB, free: 145 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.8002, allocations: 11.97 kB / 0.779 GB, free: 145 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.8016, allocations: 1.463 MB / 0.7805 GB, free: 143.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.8016, allocations: 0 / 0.7805 GB, free: 143.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009545/0.8026, allocations: 271.7 kB / 0.7807 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007253/0.8033, allocations: 149.5 kB / 0.7809 GB, free: 143.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.766e-05/0.8034, allocations: 47.91 kB / 0.7809 GB, free: 143.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002695/0.8061, allocations: 3.34 MB / 0.7842 GB, free: 139.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.8061, allocations: 0 / 0.7842 GB, free: 139.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002895/0.809, allocations: 1.623 MB / 0.7857 GB, free: 137.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005603/0.8096, allocations: 430.5 kB / 0.7862 GB, free: 137.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/0.8098, allocations: 39.92 kB / 0.7862 GB, free: 137.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009097/0.8107, allocations: 112.9 kB / 0.7863 GB, free: 137.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000186/0.8109, allocations: 117.8 kB / 0.7864 GB, free: 137.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.976e-05/0.811, allocations: 55.97 kB / 0.7865 GB, free: 137 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008554/0.8119, allocations: 0.7495 MB / 0.7872 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8119, allocations: 4 kB / 0.7872 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001072/0.8129, allocations: 473.6 kB / 0.7877 GB, free: 135.8 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.001333/0.8143, allocations: 0.63 MB / 0.7883 GB, free: 135.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002631/0.8169, allocations: 1.517 MB / 0.7898 GB, free: 133.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.8169, allocations: 0 / 0.7898 GB, free: 133.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001448/0.8184, allocations: 0.96 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.001694/0.8201, allocations: 0.5518 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.005764/0.8259, allocations: 3.037 MB / 0.7942 GB, free: 129.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006964/0.8266, allocations: 1.285 MB / 0.7955 GB, free: 128.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001335/0.8279, allocations: 0.491 MB / 0.7959 GB, free: 127.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004146/0.8284, allocations: 187.3 kB / 0.7961 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of SimCode: time 3.91e-07/0.8284, allocations: 0 / 0.7961 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.03524/0.8636, allocations: 25.61 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 gbode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)