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.001247/0.001247, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.478/1.478, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.006/1.006, allocations: 135.1 MB / 425.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 63.77 kB / 0.5053 GB, free: 5.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1973, allocations: 80.92 MB / 0.5844 GB, free: 4.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.008932/0.2063, allocations: 6.221 MB / 0.5904 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4976/0.7039, allocations: 153.2 MB / 0.7401 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002397/0.7063, allocations: 34.56 kB / 0.7401 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001771/0.7082, allocations: 315 kB / 0.7404 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004867/0.7131, allocations: 0.6472 MB / 0.741 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004707/0.7178, allocations: 1.297 MB / 0.7423 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003861/0.7216, allocations: 2.303 MB / 0.7445 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002218/0.7239, allocations: 1.066 MB / 0.7456 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001658/0.7256, allocations: 0.7645 MB / 0.7463 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001537/0.7271, allocations: 0.7906 MB / 0.7471 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005938/0.7277, allocations: 190.1 kB / 0.7473 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002321/0.7301, allocations: 0.9202 MB / 0.7482 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006822/0.7308, allocations: 495.2 kB / 0.7486 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001465/0.7322, allocations: 0.89 MB / 0.7495 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005009/0.7372, allocations: 2.644 MB / 0.7521 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.7373, allocations: 0 / 0.7521 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7373, allocations: 0 / 0.7521 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001442/0.7374, allocations: 0.5625 kB / 0.7521 GB, free: 0.9141 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.006275/0.7437, allocations: 2.159 MB / 0.7542 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.7438, allocations: 12.03 kB / 0.7542 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00207/0.7459, allocations: 358.7 kB / 0.7546 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001791/0.7477, allocations: 1.196 MB / 0.7557 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.536e-05/0.7478, allocations: 94.69 kB / 0.7558 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/0.7479, allocations: 136.6 kB / 0.7559 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002717/0.7507, allocations: 1.522 MB / 0.7574 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/0.7507, allocations: 7.938 kB / 0.7574 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/0.7508, allocations: 56 kB / 0.7575 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.542e-05/0.7509, allocations: 32 kB / 0.7575 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003251/0.7541, allocations: 2.039 MB / 0.7595 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007974/0.7621, allocations: 4.445 MB / 0.7639 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003175/0.7653, allocations: 1.432 MB / 0.7653 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001157/0.7665, allocations: 0.5321 MB / 0.7658 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.7666, allocations: 57.17 kB / 0.7658 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001747/0.7684, allocations: 0.7921 MB / 0.7666 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=136): time 4.94e-06/0.7684, allocations: 3.984 kB / 0.7666 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of matching and sorting (n=136): time 0.00686/0.7753, allocations: 2.104 MB / 0.7687 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001972/0.7755, allocations: 359.2 kB / 0.769 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001892/0.7774, allocations: 1.071 MB / 0.77 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001771/0.7776, allocations: 53.7 kB / 0.7701 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005874/0.7782, allocations: 0.6182 MB / 0.7707 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000518/0.7787, allocations: 445.5 kB / 0.7711 GB, free: 13 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005851/0.7793, allocations: 286.7 kB / 0.7714 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.7795, allocations: 357.9 kB / 0.7717 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.7807, allocations: 478.3 kB / 0.7722 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/0.7822, allocations: 0.6536 MB / 0.7728 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00235/0.7845, allocations: 1.121 MB / 0.7739 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/0.7845, allocations: 0 / 0.7739 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.004208/0.7888, allocations: 1.52 MB / 0.7754 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.7888, allocations: 7.938 kB / 0.7754 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.7888, allocations: 5.562 kB / 0.7754 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.79, allocations: 165.8 kB / 0.7756 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.7912, allocations: 291.6 kB / 0.7759 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004445/0.7956, allocations: 3.283 MB / 0.7791 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/0.7973, allocations: 165 kB / 0.7792 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002591/0.7976, allocations: 67.95 kB / 0.7793 GB, free: 4.258 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.001/0.7986, allocations: 383.8 kB / 0.7797 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005582/0.7992, allocations: 154.1 kB / 0.7798 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005502/0.8047, allocations: 1.976 MB / 0.7817 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/0.8047, allocations: 24.59 kB / 0.7818 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.8048, allocations: 0 / 0.7818 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-05/0.8048, allocations: 7.969 kB / 0.7818 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002564/0.8074, allocations: 1.457 MB / 0.7832 GB, free: 204 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/0.8074, allocations: 4 kB / 0.7832 GB, free: 200 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/0.8086, allocations: 279.6 kB / 0.7835 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009191/0.8095, allocations: 149.6 kB / 0.7836 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001366/0.8097, allocations: 47.53 kB / 0.7836 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003991/0.8137, allocations: 3.347 MB / 0.7869 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.8137, allocations: 0 / 0.7869 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004489/0.8182, allocations: 1.619 MB / 0.7885 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/0.8193, allocations: 434.6 kB / 0.7889 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003706/0.8196, allocations: 32 kB / 0.7889 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/0.8209, allocations: 114.6 kB / 0.7891 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002855/0.8212, allocations: 117.8 kB / 0.7892 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/0.8213, allocations: 59.95 kB / 0.7892 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001504/0.8229, allocations: 0.7456 MB / 0.79 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8229, allocations: 0 / 0.79 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001574/0.8244, allocations: 482.8 kB / 0.7904 GB, free: 8.453 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.001577/0.826, allocations: 0.6342 MB / 0.791 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004895/0.8309, allocations: 1.858 MB / 0.7928 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.831, allocations: 0 / 0.7928 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00204/0.833, allocations: 0.9575 MB / 0.7938 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002545/0.8356, allocations: 0.5574 MB / 0.7943 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007918/0.8435, allocations: 3.074 MB / 0.7973 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001144/0.8447, allocations: 1.289 MB / 0.7986 GB, free: 228 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001965/0.8466, allocations: 0.5035 MB / 0.7991 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004763/0.8471, allocations: 179.3 kB / 0.7992 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of SimCode: time 7.11e-07/0.8471, allocations: 7.938 kB / 0.7993 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of Templates: time 0.04727/0.8944, allocations: 25.61 MB / 0.8243 GB, free: 6.191 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)