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.001124/0.001124, allocations: 90.34 kB / 15.06 MB, free: 1.078 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.001449/0.001449, allocations: 176.7 kB / 15.95 MB, free: 192 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.501/1.501, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9881/0.9881, allocations: 135.3 MB / 426.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003735, allocations: 8 kB / 0.507 GB, free: 5.129 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2054, allocations: 82.31 MB / 0.5874 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.008714/0.2142, allocations: 5.358 MB / 0.5926 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6048/0.819, allocations: 139.2 MB / 0.7286 GB, free: 4.539 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/0.8204, allocations: 31.34 kB / 0.7286 GB, free: 4.527 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00077/0.8212, allocations: 229.7 kB / 0.7288 GB, free: 4.398 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002133/0.8234, allocations: 0.5373 MB / 0.7293 GB, free: 4.078 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003477/0.8269, allocations: 0.9984 MB / 0.7303 GB, free: 3.582 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00328/0.8301, allocations: 1.989 MB / 0.7323 GB, free: 2.594 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001384/0.8315, allocations: 0.7377 MB / 0.733 GB, free: 2.281 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00147/0.833, allocations: 0.5488 MB / 0.7335 GB, free: 2.055 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009011/0.8339, allocations: 0.5815 MB / 0.7341 GB, free: 1.789 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001399/0.8341, allocations: 41.19 kB / 0.7341 GB, free: 1.789 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002232/0.8363, allocations: 0.7324 MB / 0.7348 GB, free: 1.594 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003727/0.8367, allocations: 310 kB / 0.7351 GB, free: 1.449 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004071/0.8371, allocations: 306.3 kB / 0.7354 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002776/0.8399, allocations: 1.949 MB / 0.7373 GB, free: 0.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.8399, allocations: 6.766 kB / 0.7373 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.314e-06/0.8399, allocations: 0 / 0.7373 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.925e-05/0.84, allocations: 0 / 0.7373 GB, free: 0.7461 MB / 0.545 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.003738/0.8437, allocations: 1.805 MB / 0.7391 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.8438, allocations: 8 kB / 0.7391 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001889/0.8457, allocations: 382.2 kB / 0.7395 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001867/0.8475, allocations: 1.152 MB / 0.7406 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.241e-05/0.8476, allocations: 101.6 kB / 0.7407 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.8478, allocations: 128 kB / 0.7408 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002791/0.8506, allocations: 1.524 MB / 0.7423 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.757e-05/0.8506, allocations: 3.938 kB / 0.7423 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/0.8508, allocations: 63.27 kB / 0.7424 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.804e-05/0.8508, allocations: 39.02 kB / 0.7424 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003195/0.854, allocations: 2.048 MB / 0.7444 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007501/0.8615, allocations: 4.491 MB / 0.7488 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002621/0.8642, allocations: 1.431 MB / 0.7502 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009957/0.8652, allocations: 0.5437 MB / 0.7507 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/0.8654, allocations: 61.17 kB / 0.7508 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001563/0.8669, allocations: 0.7921 MB / 0.7516 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=136): time 3.667e-06/0.8669, allocations: 0 / 0.7516 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of matching and sorting (n=136): time 0.005447/0.8724, allocations: 2.121 MB / 0.7536 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000209/0.8726, allocations: 359.2 kB / 0.754 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/0.8744, allocations: 1.067 MB / 0.755 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001825/0.8746, allocations: 53.7 kB / 0.7551 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005707/0.8752, allocations: 0.6067 MB / 0.7557 GB, free: 100 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004488/0.8757, allocations: 453.4 kB / 0.7561 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.067e-05/0.8757, allocations: 28 kB / 0.7561 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.8759, allocations: 357.9 kB / 0.7565 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009535/0.8769, allocations: 474.3 kB / 0.7569 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.878, allocations: 0.6575 MB / 0.7575 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.8791, allocations: 0.549 MB / 0.7581 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.8791, allocations: 0 / 0.7581 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003431/0.8825, allocations: 1.528 MB / 0.7596 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/0.8826, allocations: 7.938 kB / 0.7596 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.8826, allocations: 4 kB / 0.7596 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009635/0.8836, allocations: 177.7 kB / 0.7598 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.8847, allocations: 295.6 kB / 0.76 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003545/0.8882, allocations: 3.066 MB / 0.763 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.8897, allocations: 181.8 kB / 0.7632 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.8899, allocations: 67.95 kB / 0.7633 GB, free: 7.957 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 ($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.0008678/0.8907, allocations: 383.7 kB / 0.7636 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000212/0.8909, allocations: 146.2 kB / 0.7638 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004371/0.8953, allocations: 2.001 MB / 0.7657 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/0.8954, allocations: 16 kB / 0.7657 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.8954, allocations: 4 kB / 0.7657 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.676e-05/0.8954, allocations: 7.969 kB / 0.7658 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001874/0.8973, allocations: 1.452 MB / 0.7672 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.8973, allocations: 4 kB / 0.7672 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.8983, allocations: 283.6 kB / 0.7674 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008631/0.8992, allocations: 173.5 kB / 0.7676 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.022e-05/0.8993, allocations: 43.97 kB / 0.7677 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003376/0.9027, allocations: 3.107 MB / 0.7707 GB, free: 4 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.9027, allocations: 0 / 0.7707 GB, free: 4 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003655/0.9064, allocations: 1.634 MB / 0.7723 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000964/0.9073, allocations: 458.5 kB / 0.7727 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001937/0.9075, allocations: 36 kB / 0.7728 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009412/0.9085, allocations: 137.4 kB / 0.7729 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002379/0.9087, allocations: 121.8 kB / 0.773 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/0.9089, allocations: 60.16 kB / 0.7731 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001122/0.91, allocations: 0.7338 MB / 0.7738 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.91, allocations: 0 / 0.7738 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001753/0.9118, allocations: 478.9 kB / 0.7742 GB, free: 12.32 MB / 0.5919 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.001774/0.9135, allocations: 0.6292 MB / 0.7748 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003112/0.9167, allocations: 1.516 MB / 0.7763 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.9167, allocations: 4 kB / 0.7763 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001575/0.9183, allocations: 0.9459 MB / 0.7773 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002273/0.9206, allocations: 497.6 kB / 0.7777 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007184/0.9278, allocations: 3.727 MB / 0.7814 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008877/0.9287, allocations: 1.285 MB / 0.7826 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002183/0.9309, allocations: 0.4957 MB / 0.7831 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006933/0.9316, allocations: 183.3 kB / 0.7833 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of SimCode: time 1.713e-06/0.9316, allocations: 0 / 0.7833 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of Templates: time 0.04857/0.9802, allocations: 23.71 MB / 0.8064 GB, free: 11.7 MB / 0.6231 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)