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.006874/0.006874, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.001324/0.001324, allocations: 185.8 kB / 16.67 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8368/0.8368, allocations: 135.1 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 64.86 kB / 0.5856 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1692, allocations: 80.92 MB / 0.6646 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.008521/0.1777, allocations: 6.224 MB / 0.6707 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.6487/0.8265, allocations: 153.2 MB / 0.8203 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001502/0.828, allocations: 32.88 kB / 0.8204 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008278/0.8289, allocations: 312.5 kB / 0.8207 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002205/0.8311, allocations: 0.6467 MB / 0.8213 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002873/0.834, allocations: 1.298 MB / 0.8226 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002581/0.8366, allocations: 2.327 MB / 0.8248 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/0.8379, allocations: 1.067 MB / 0.8259 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009666/0.8389, allocations: 0.7693 MB / 0.8266 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009339/0.8398, allocations: 0.7948 MB / 0.8274 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002675/0.8401, allocations: 186 kB / 0.8276 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001816/0.8419, allocations: 0.9402 MB / 0.8285 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000451/0.8424, allocations: 0.4894 MB / 0.829 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008498/0.8433, allocations: 0.8964 MB / 0.8298 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003675/0.847, allocations: 2.727 MB / 0.8325 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.847, allocations: 0 / 0.8325 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.465e-06/0.847, allocations: 0 / 0.8325 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.389e-05/0.847, allocations: 0 / 0.8325 GB, free: 13.86 MB / 0.6075 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.004128/0.8512, allocations: 2.218 MB / 0.8347 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.8512, allocations: 12.42 kB / 0.8347 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00204/0.8533, allocations: 371.9 kB / 0.835 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002238/0.8555, allocations: 1.246 MB / 0.8363 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-05/0.8556, allocations: 97.62 kB / 0.8363 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.8558, allocations: 129.8 kB / 0.8365 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002735/0.8585, allocations: 1.525 MB / 0.838 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/0.8586, allocations: 0 / 0.838 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/0.8587, allocations: 58.97 kB / 0.838 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.753e-05/0.8587, allocations: 32.66 kB / 0.838 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003229/0.862, allocations: 2.046 MB / 0.84 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007345/0.8693, allocations: 4.403 MB / 0.8443 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002634/0.872, allocations: 1.423 MB / 0.8457 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009681/0.873, allocations: 0.5354 MB / 0.8463 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.8731, allocations: 64.78 kB / 0.8463 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001401/0.8745, allocations: 0.7945 MB / 0.8471 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=136): time 2.946e-06/0.8745, allocations: 0 / 0.8471 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of matching and sorting (n=136): time 0.005518/0.8801, allocations: 2.112 MB / 0.8492 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001816/0.8803, allocations: 355.2 kB / 0.8495 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/0.8816, allocations: 1.079 MB / 0.8505 GB, free: 260 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.671e-05/0.8818, allocations: 57.55 kB / 0.8506 GB, free: 200 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005325/0.8823, allocations: 0.6156 MB / 0.8512 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003621/0.8827, allocations: 475.8 kB / 0.8517 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004008/0.8831, allocations: 286.8 kB / 0.8519 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.8832, allocations: 357.9 kB / 0.8523 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009735/0.8842, allocations: 478.3 kB / 0.8527 GB, free: 14 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/0.8854, allocations: 0.6535 MB / 0.8534 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0021/0.8875, allocations: 1.116 MB / 0.8545 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.8875, allocations: 4 kB / 0.8545 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003585/0.8911, allocations: 1.529 MB / 0.856 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.8911, allocations: 7.938 kB / 0.856 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.8911, allocations: 4 kB / 0.856 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.8922, allocations: 169.5 kB / 0.8561 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.8934, allocations: 291.6 kB / 0.8564 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004225/0.8976, allocations: 3.29 MB / 0.8596 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.899, allocations: 169.4 kB / 0.8598 GB, free: 6.395 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/0.8991, allocations: 67.94 kB / 0.8598 GB, free: 6.328 MB / 0.6231 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.0007392/0.8999, allocations: 383.7 kB / 0.8602 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002612/0.9001, allocations: 163 kB / 0.8604 GB, free: 5.781 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004381/0.9045, allocations: 1.965 MB / 0.8623 GB, free: 3.801 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.9045, allocations: 19.94 kB / 0.8623 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.9046, allocations: 4 kB / 0.8623 GB, free: 3.777 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/0.9046, allocations: 11.97 kB / 0.8623 GB, free: 3.766 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/0.9063, allocations: 1.46 MB / 0.8637 GB, free: 2.258 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.9063, allocations: 4 kB / 0.8637 GB, free: 2.254 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.9074, allocations: 275.6 kB / 0.864 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007857/0.9082, allocations: 137.6 kB / 0.8641 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.179e-05/0.9083, allocations: 51.53 kB / 0.8642 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003681/0.912, allocations: 3.35 MB / 0.8675 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.912, allocations: 3.938 kB / 0.8675 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003835/0.9158, allocations: 1.631 MB / 0.8691 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008051/0.9166, allocations: 431.5 kB / 0.8695 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002376/0.9169, allocations: 31.94 kB / 0.8695 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009812/0.9179, allocations: 115 kB / 0.8696 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002668/0.9181, allocations: 121.8 kB / 0.8697 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.9183, allocations: 55.97 kB / 0.8698 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001226/0.9195, allocations: 0.7495 MB / 0.8705 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.043e-06/0.9195, allocations: 0 / 0.8705 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001527/0.921, allocations: 478.9 kB / 0.871 GB, free: 10.52 MB / 0.6387 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.001771/0.9228, allocations: 0.6361 MB / 0.8716 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003699/0.9265, allocations: 1.522 MB / 0.8731 GB, free: 8.504 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/0.9266, allocations: 4 kB / 0.8731 GB, free: 8.5 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001932/0.9285, allocations: 0.9536 MB / 0.874 GB, free: 7.523 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/0.931, allocations: 0.5499 MB / 0.8746 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007289/0.9383, allocations: 3.08 MB / 0.8776 GB, free: 3.898 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/0.9393, allocations: 1.285 MB / 0.8788 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001591/0.9409, allocations: 495.8 kB / 0.8793 GB, free: 2.094 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004384/0.9414, allocations: 191.3 kB / 0.8795 GB, free: 1.91 MB / 0.6387 GB Notification: Performance of SimCode: time 1.983e-06/0.9414, allocations: 3.938 kB / 0.8795 GB, free: 1.906 MB / 0.6387 GB Notification: Performance of Templates: time 0.04081/0.9822, allocations: 25.92 MB / 0.9048 GB, free: 8.203 MB / 0.67 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)