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-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_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.001029/0.001029, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001097/0.001096, allocations: 177.3 kB / 15.95 MB, free: 216 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.408/1.408, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.045/1.045, allocations: 135.2 MB / 426.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005196/0.0005196, allocations: 8 kB / 0.5068 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2258, allocations: 82.31 MB / 0.5872 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.006344/0.2322, allocations: 5.23 MB / 0.5923 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5241/0.7563, allocations: 129.7 MB / 0.719 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.7577, allocations: 33.94 kB / 0.719 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006097/0.7583, allocations: 124.5 kB / 0.7191 GB, free: 12.26 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002667/0.761, allocations: 0.6753 MB / 0.7198 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003198/0.7642, allocations: 0.9846 MB / 0.7207 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002451/0.7667, allocations: 1.452 MB / 0.7222 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/0.7678, allocations: 0.7385 MB / 0.7229 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.7688, allocations: 0.5658 MB / 0.7234 GB, free: 9.988 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007852/0.7696, allocations: 0.5317 MB / 0.7239 GB, free: 9.742 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001304/0.7697, allocations: 41.56 kB / 0.724 GB, free: 9.742 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00185/0.7716, allocations: 0.7042 MB / 0.7247 GB, free: 9.559 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004093/0.772, allocations: 307 kB / 0.725 GB, free: 9.418 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000324/0.7723, allocations: 310.9 kB / 0.7253 GB, free: 9.211 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002686/0.775, allocations: 1.962 MB / 0.7272 GB, free: 8.715 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.775, allocations: 4 kB / 0.7272 GB, free: 8.711 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7751, allocations: 0 / 0.7272 GB, free: 8.711 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.418e-05/0.7751, allocations: 1.219 kB / 0.7272 GB, free: 8.711 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.00368/0.7788, allocations: 1.814 MB / 0.729 GB, free: 7.523 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.7788, allocations: 8.25 kB / 0.729 GB, free: 7.523 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0019/0.7807, allocations: 382.6 kB / 0.7293 GB, free: 7.41 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002023/0.7828, allocations: 1.152 MB / 0.7305 GB, free: 6.738 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.478e-05/0.7829, allocations: 96.59 kB / 0.7305 GB, free: 6.695 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.783, allocations: 134.5 kB / 0.7307 GB, free: 6.648 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002644/0.7857, allocations: 1.512 MB / 0.7321 GB, free: 5.922 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.7857, allocations: 2.562 kB / 0.7322 GB, free: 5.922 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/0.7859, allocations: 59.25 kB / 0.7322 GB, free: 5.879 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.759e-05/0.7859, allocations: 35.64 kB / 0.7322 GB, free: 5.875 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003101/0.789, allocations: 2.043 MB / 0.7342 GB, free: 5.438 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007307/0.7963, allocations: 4.494 MB / 0.7386 GB, free: 1.105 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002637/0.799, allocations: 1.439 MB / 0.74 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/0.7991, allocations: 57.11 kB / 0.7401 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001472/0.8006, allocations: 0.796 MB / 0.7409 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=136): time 4.018e-06/0.8006, allocations: 0 / 0.7409 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of matching and sorting (n=136): time 0.005979/0.8066, allocations: 2.132 MB / 0.7429 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002008/0.8068, allocations: 351.3 kB / 0.7433 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001826/0.8087, allocations: 1.06 MB / 0.7443 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003559/0.8091, allocations: 57.7 kB / 0.7444 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005755/0.8096, allocations: 0.6263 MB / 0.745 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004505/0.8101, allocations: 445.5 kB / 0.7454 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.663e-05/0.8102, allocations: 28 kB / 0.7454 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.8103, allocations: 353.9 kB / 0.7458 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009735/0.8113, allocations: 438.4 kB / 0.7462 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.8125, allocations: 0.6478 MB / 0.7468 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.8136, allocations: 0.5207 MB / 0.7473 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.8136, allocations: 0 / 0.7473 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003577/0.8172, allocations: 1.432 MB / 0.7487 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.8172, allocations: 8 kB / 0.7487 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.8172, allocations: 0 / 0.7487 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/0.8183, allocations: 169.8 kB / 0.7489 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.8194, allocations: 271.6 kB / 0.7492 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003716/0.8231, allocations: 3.092 MB / 0.7522 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.8246, allocations: 169 kB / 0.7523 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.8247, allocations: 59.97 kB / 0.7524 GB, free: 2.457 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 143 * 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.0008663/0.8256, allocations: 377.5 kB / 0.7528 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002974/0.8259, allocations: 150.1 kB / 0.7529 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004667/0.8306, allocations: 2.005 MB / 0.7549 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/0.8306, allocations: 16 kB / 0.7549 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.8307, allocations: 0 / 0.7549 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-05/0.8307, allocations: 7.969 kB / 0.7549 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/0.8327, allocations: 1.476 MB / 0.7563 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.8328, allocations: 0 / 0.7563 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/0.8338, allocations: 283.6 kB / 0.7566 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009526/0.8348, allocations: 165.6 kB / 0.7567 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-05/0.8349, allocations: 51.91 kB / 0.7568 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003709/0.8386, allocations: 3.138 MB / 0.7599 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.8387, allocations: 0 / 0.7599 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003883/0.8425, allocations: 1.649 MB / 0.7615 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009728/0.8435, allocations: 466.4 kB / 0.7619 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/0.8437, allocations: 28 kB / 0.7619 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.8447, allocations: 143.8 kB / 0.7621 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002291/0.845, allocations: 113.8 kB / 0.7622 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.8451, allocations: 59.97 kB / 0.7622 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001109/0.8462, allocations: 0.7379 MB / 0.763 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8462, allocations: 3.938 kB / 0.763 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001558/0.8478, allocations: 462.9 kB / 0.7634 GB, free: 6.766 MB / 0.5762 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.00133/0.8491, allocations: 0.6264 MB / 0.764 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003011/0.8522, allocations: 1.451 MB / 0.7654 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.8522, allocations: 0 / 0.7654 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001753/0.8539, allocations: 0.9575 MB / 0.7664 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0021/0.856, allocations: 468.3 kB / 0.7668 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007003/0.8631, allocations: 3.715 MB / 0.7705 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000824/0.8639, allocations: 1.313 MB / 0.7717 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001735/0.8657, allocations: 495.8 kB / 0.7722 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004162/0.8661, allocations: 187.3 kB / 0.7724 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of SimCode: time 3.026e-06/0.8661, allocations: 0 / 0.7724 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of Templates: time 0.03803/0.9041, allocations: 23.74 MB / 0.7956 GB, free: 6.203 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: