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.0009368/0.0009369, allocations: 84.38 kB / 15.06 MB, free: 1.09 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: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.25/1.25, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7147/0.7147, allocations: 132.3 MB / 423.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002889/0.000289, allocations: 12 kB / 0.5034 GB, free: 4.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3414, allocations: 81.57 MB / 0.5831 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.005093/0.3465, allocations: 5.373 MB / 0.5883 GB, free: 96 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1407/0.4872, allocations: 139.2 MB / 0.7243 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00132/0.4886, allocations: 31.81 kB / 0.7243 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007296/0.4893, allocations: 230.1 kB / 0.7245 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001673/0.491, allocations: 0.531 MB / 0.7251 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002119/0.4932, allocations: 0.9984 MB / 0.726 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001661/0.4948, allocations: 1.985 MB / 0.728 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000897/0.4957, allocations: 0.7348 MB / 0.7287 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005636/0.4963, allocations: 0.5483 MB / 0.7292 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000581/0.4969, allocations: 0.5868 MB / 0.7298 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.497, allocations: 40 kB / 0.7298 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.4981, allocations: 0.7294 MB / 0.7306 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002709/0.4984, allocations: 310.6 kB / 0.7309 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002127/0.4986, allocations: 304.8 kB / 0.7311 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001544/0.5001, allocations: 1.956 MB / 0.7331 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.5002, allocations: 4 kB / 0.7331 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5002, allocations: 7.875 kB / 0.7331 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.389e-05/0.5002, allocations: 0 / 0.7331 GB, free: 6.551 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.002619/0.5028, allocations: 1.8 MB / 0.7348 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.5029, allocations: 12.03 kB / 0.7348 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00164/0.5045, allocations: 381.3 kB / 0.7352 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/0.506, allocations: 1.143 MB / 0.7363 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.551e-05/0.5061, allocations: 102.7 kB / 0.7364 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.5062, allocations: 132 kB / 0.7365 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002381/0.5086, allocations: 1.525 MB / 0.738 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.5087, allocations: 0 / 0.738 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/0.5088, allocations: 60 kB / 0.7381 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-05/0.5088, allocations: 32 kB / 0.7381 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003048/0.5119, allocations: 2.051 MB / 0.7401 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005876/0.5178, allocations: 4.497 MB / 0.7445 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002479/0.5202, allocations: 1.441 MB / 0.7459 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009396/0.5212, allocations: 0.5399 MB / 0.7464 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.5213, allocations: 61.12 kB / 0.7465 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00132/0.5227, allocations: 0.7882 MB / 0.7473 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=136): time 3.867e-06/0.5227, allocations: 3.984 kB / 0.7473 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of matching and sorting (n=136): time 0.005025/0.5277, allocations: 2.128 MB / 0.7494 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.5278, allocations: 355.3 kB / 0.7497 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.529, allocations: 1.067 MB / 0.7507 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.524e-05/0.5291, allocations: 49.7 kB / 0.7508 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004301/0.5296, allocations: 0.6067 MB / 0.7514 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003018/0.5299, allocations: 457.4 kB / 0.7518 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-05/0.53, allocations: 31.94 kB / 0.7518 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.5301, allocations: 357.9 kB / 0.7522 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009255/0.531, allocations: 474.3 kB / 0.7526 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.5321, allocations: 0.6574 MB / 0.7533 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.5331, allocations: 0.5452 MB / 0.7538 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.5331, allocations: 4 kB / 0.7538 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003241/0.5364, allocations: 1.527 MB / 0.7553 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.5364, allocations: 8 kB / 0.7553 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.5364, allocations: 3.984 kB / 0.7553 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00098/0.5374, allocations: 169.8 kB / 0.7555 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.5385, allocations: 291.6 kB / 0.7558 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003411/0.542, allocations: 3.068 MB / 0.7588 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.543, allocations: 174.8 kB / 0.7589 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.5431, allocations: 63.95 kB / 0.759 GB, free: 11.18 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 ($whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.canRepeatWeatherFile,$whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005125/0.5436, allocations: 385.3 kB / 0.7593 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.5438, allocations: 146.2 kB / 0.7595 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004333/0.5482, allocations: 2.007 MB / 0.7614 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.5482, allocations: 19.94 kB / 0.7615 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.5482, allocations: 0 / 0.7615 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.652e-05/0.5482, allocations: 15.97 kB / 0.7615 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/0.5497, allocations: 1.459 MB / 0.7629 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.5497, allocations: 0 / 0.7629 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.5508, allocations: 283.7 kB / 0.7632 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008734/0.5517, allocations: 177.5 kB / 0.7633 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.301e-05/0.5518, allocations: 43.97 kB / 0.7634 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003137/0.5549, allocations: 3.107 MB / 0.7664 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5549, allocations: 4.266 kB / 0.7664 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003116/0.558, allocations: 1.63 MB / 0.768 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005348/0.5586, allocations: 458.5 kB / 0.7685 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/0.5588, allocations: 32 kB / 0.7685 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009327/0.5597, allocations: 137.6 kB / 0.7686 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/0.5599, allocations: 118 kB / 0.7687 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/0.56, allocations: 63.97 kB / 0.7688 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008793/0.5609, allocations: 0.7339 MB / 0.7695 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5609, allocations: 0 / 0.7695 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001042/0.562, allocations: 474.9 kB / 0.77 GB, free: 15.52 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001239/0.5632, allocations: 0.6319 MB / 0.7706 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002645/0.5659, allocations: 1.518 MB / 0.7721 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.5659, allocations: 3.938 kB / 0.7721 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001534/0.5674, allocations: 0.9498 MB / 0.773 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/0.5691, allocations: 499.2 kB / 0.7735 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006106/0.5752, allocations: 3.721 MB / 0.7771 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007353/0.576, allocations: 1.282 MB / 0.7784 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001442/0.5774, allocations: 0.4919 MB / 0.7788 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004202/0.5779, allocations: 183.3 kB / 0.779 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.5779, allocations: 0 / 0.779 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of Templates: time 0.03358/0.6115, allocations: 23.7 MB / 0.8022 GB, free: 14.95 MB / 0.6387 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 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)