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.005646/0.005646, allocations: 99.05 kB / 15.73 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.00109/0.00109, allocations: 196 kB / 16.68 MB, free: 5.934 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9477/0.9477, allocations: 135.1 MB / 425.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.89 kB / 0.5856 GB, free: 3.379 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5055/0.5067, allocations: 80.9 MB / 0.6646 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.007251/0.514, allocations: 6.225 MB / 0.6707 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2036/0.7177, allocations: 153.2 MB / 0.8203 GB, free: 1.629 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00203/0.7198, allocations: 35.81 kB / 0.8204 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.7211, allocations: 309.1 kB / 0.8207 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003103/0.7243, allocations: 0.6709 MB / 0.8213 GB, free: 0.6172 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003891/0.7282, allocations: 1.303 MB / 0.8226 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003498/0.7317, allocations: 2.317 MB / 0.8248 GB, free: 13 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00188/0.7336, allocations: 1.079 MB / 0.8259 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001311/0.7349, allocations: 0.7824 MB / 0.8267 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008419/0.7358, allocations: 0.7855 MB / 0.8274 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002346/0.736, allocations: 188 kB / 0.8276 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001771/0.7378, allocations: 0.9441 MB / 0.8285 GB, free: 9.184 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004604/0.7383, allocations: 498.4 kB / 0.829 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008716/0.7391, allocations: 0.8936 MB / 0.8299 GB, free: 7.797 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003588/0.7427, allocations: 2.71 MB / 0.8325 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.7428, allocations: 4 kB / 0.8325 GB, free: 5.074 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7428, allocations: 0 / 0.8325 GB, free: 5.074 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.998e-05/0.7428, allocations: 0 / 0.8325 GB, free: 5.074 MB / 0.6544 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.003608/0.7464, allocations: 2.162 MB / 0.8346 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.7465, allocations: 8.031 kB / 0.8346 GB, free: 2.848 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001791/0.7483, allocations: 358.2 kB / 0.835 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/0.7501, allocations: 1.239 MB / 0.8362 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.408e-05/0.7502, allocations: 98.67 kB / 0.8363 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.7503, allocations: 132 kB / 0.8364 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0025/0.7528, allocations: 1.524 MB / 0.8379 GB, free: 15.36 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.081e-05/0.7529, allocations: 4 kB / 0.8379 GB, free: 15.35 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/0.753, allocations: 56 kB / 0.838 GB, free: 15.3 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.39e-05/0.7531, allocations: 39.94 kB / 0.838 GB, free: 15.26 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003039/0.7561, allocations: 2.035 MB / 0.84 GB, free: 13.22 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007047/0.7632, allocations: 4.397 MB / 0.8443 GB, free: 8.727 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002704/0.7659, allocations: 1.43 MB / 0.8457 GB, free: 7.281 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000955/0.7669, allocations: 0.5242 MB / 0.8462 GB, free: 6.754 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001325/0.767, allocations: 65.17 kB / 0.8463 GB, free: 6.688 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001451/0.7685, allocations: 0.7921 MB / 0.847 GB, free: 5.871 MB / 0.67 GB Notification: Performance of pre-optimization done (n=136): time 3.727e-06/0.7685, allocations: 0 / 0.847 GB, free: 5.871 MB / 0.67 GB Notification: Performance of matching and sorting (n=136): time 0.005487/0.774, allocations: 2.104 MB / 0.8491 GB, free: 3.723 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002021/0.7742, allocations: 351.3 kB / 0.8494 GB, free: 3.301 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/0.7758, allocations: 1.09 MB / 0.8505 GB, free: 2.199 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.7759, allocations: 53.7 kB / 0.8505 GB, free: 2.141 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004906/0.7764, allocations: 0.6028 MB / 0.8511 GB, free: 1.531 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003619/0.7767, allocations: 457.3 kB / 0.8516 GB, free: 1.078 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004061/0.7771, allocations: 286.7 kB / 0.8518 GB, free: 0.793 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.7773, allocations: 357.9 kB / 0.8522 GB, free: 448 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009525/0.7783, allocations: 482.3 kB / 0.8526 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.7794, allocations: 0.6497 MB / 0.8533 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002044/0.7815, allocations: 1.123 MB / 0.8544 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.7815, allocations: 0 / 0.8544 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003615/0.7851, allocations: 1.52 MB / 0.8558 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.7851, allocations: 6.031 kB / 0.8559 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.7852, allocations: 4 kB / 0.8559 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/0.7862, allocations: 165.8 kB / 0.856 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.7874, allocations: 291.6 kB / 0.8563 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003971/0.7914, allocations: 3.284 MB / 0.8595 GB, free: 8.555 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.7928, allocations: 154.8 kB / 0.8596 GB, free: 8.402 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/0.7929, allocations: 67.95 kB / 0.8597 GB, free: 8.336 MB / 0.6856 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.0007307/0.7937, allocations: 393.3 kB / 0.8601 GB, free: 7.941 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003037/0.794, allocations: 150.2 kB / 0.8602 GB, free: 7.793 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004312/0.7983, allocations: 1.964 MB / 0.8622 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.7983, allocations: 20 kB / 0.8622 GB, free: 5.797 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.7983, allocations: 0 / 0.8622 GB, free: 5.797 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/0.7984, allocations: 7.969 kB / 0.8622 GB, free: 5.789 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/0.8001, allocations: 1.459 MB / 0.8636 GB, free: 4.281 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.8002, allocations: 4 kB / 0.8636 GB, free: 4.277 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.8012, allocations: 271.6 kB / 0.8639 GB, free: 4.012 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007962/0.802, allocations: 153.6 kB / 0.864 GB, free: 3.855 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.4e-05/0.8021, allocations: 47.91 kB / 0.8641 GB, free: 3.809 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003667/0.8058, allocations: 3.332 MB / 0.8673 GB, free: 192 kB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.8058, allocations: 7.969 kB / 0.8673 GB, free: 184 kB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3907/1.197, allocations: 1.614 MB / 0.8689 GB, free: 190.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007319/1.197, allocations: 430.2 kB / 0.8693 GB, free: 190.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/1.197, allocations: 34.88 kB / 0.8693 GB, free: 190.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009474/1.198, allocations: 109.9 kB / 0.8694 GB, free: 190.4 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002786/1.199, allocations: 119.6 kB / 0.8696 GB, free: 190.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/1.199, allocations: 60.72 kB / 0.8696 GB, free: 190.4 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001146/1.2, allocations: 0.7417 MB / 0.8703 GB, free: 190.1 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.1e-07/1.2, allocations: 0.7188 kB / 0.8703 GB, free: 190.1 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001312/1.201, allocations: 478.8 kB / 0.8708 GB, free: 190.1 MB / 0.6856 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.001513/1.203, allocations: 0.6408 MB / 0.8714 GB, free: 189.9 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003673/1.207, allocations: 1.516 MB / 0.8729 GB, free: 189.3 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/1.207, allocations: 0.9688 kB / 0.8729 GB, free: 189.3 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001786/1.208, allocations: 0.9557 MB / 0.8738 GB, free: 188.9 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002028/1.21, allocations: 0.5512 MB / 0.8744 GB, free: 188.7 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007225/1.218, allocations: 3.036 MB / 0.8773 GB, free: 187.4 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007754/1.218, allocations: 1.279 MB / 0.8786 GB, free: 186.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001566/1.22, allocations: 0.4999 MB / 0.8791 GB, free: 186.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004292/1.22, allocations: 186 kB / 0.8793 GB, free: 186.5 MB / 0.6856 GB Notification: Performance of SimCode: time 6.31e-07/1.22, allocations: 0 / 0.8793 GB, free: 186.5 MB / 0.6856 GB Notification: Performance of Templates: time 0.04993/1.27, allocations: 25.94 MB / 0.9046 GB, free: 172.6 MB / 0.6856 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)